Part Number Hot Search : 
EZ1582 EZ1582 0211BN TEVAL CP604 1117B 60R380C6 JXT1088
Product Description
Full Text Search
 

To Download PEB2255 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Da ta Sh ee t, D S 1, J ul y 20 00
F A LC (R)- L H E 1/ T1 /J 1 Fr a m er a nd L i n e In te r fa c e C om p on e nt f or L on g an d S h or t H au l A p p li c a ti o ns P EB 22 5 5 V er s i o n 1 .3
Da ta c o m
Never
stop
thinking.
Edition 2000-07 Published by Infineon Technologies AG, St.-Martin-Strasse 53, D-81541 Munchen, Germany
(c) Infineon Technologies AG 7/13/00. All Rights Reserved.
Attention please! The information herein is given to describe certain components and shall not be considered as warranted characteristics. Terms of delivery and rights to technical change reserved. We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. Infineon Technologies is an approved CECC manufacturer. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office in Germany or our Infineon Technologies Representatives worldwide (see address list). Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
Da ta Sh ee t, D S 1, J ul y 20 00
F A LC (R)- L H E 1/ T1 /J 1 Fr a m er a nd L i n e In te r fa c e C om p on e nt f or L on g an d S h or t H au l A p p li c a ti o ns P EB 22 5 5 V er s i o n 1 .3
Da ta c o m
Never
stop
thinking.
PEB 2255 Revision History: Previous Version: Page 2000-07 Preliminary Data Sheet DS1 DS 1
Subjects (major changes since last revision)
For questions on technology, delivery and prices please contact the Infineon Technologies Offices in Germany or the Infineon Technologies Companies and Representatives worldwide: see our webpage at http://www.infineon.com
PEB 2255 FALC-LH V1.3
Preface
The FALC(R)-LH framer and line interface component is designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus. The digital functions as well as the analog characteristics are configured via a flexible microprocessor interface.
Data Sheet
5
2000-07
PEB 2255 FALC-LH V1.3
Organization of this Document This Data Sheet is organized as follows: * Chapter 1, Introduction Gives a general description of the product and its family, lists the key features, and presents some typical applications. * Chapter 2, Pin Descriptions Lists pin locations with associated signals, categorizes signals according to function, and describes signals. * Chapter 3 to Chapter 5, Functional Description E1/T1/J1 These chapters describe the functional blocks and principle operation modes, organized into separate sections for E1 and T1/J1 operation * Chapter 6 and Chapter 7, Operational Description E1/T1/J1 Shows the operation modes and how they are to be initialized (separately for E1 and T1/J1). * Chapter 8, Signaling Controller Operating Modes Describes signaling controller functions for both E1 and T1/J1 operation. * Chapter 9 and Chapter 10, E1 Registers and T1/J1 Registers Gives a detailed description of all implemented registers and how to use them in different applications/configurations. * Chapter 11, Electrical Characteristics Specifies maximum ratings, DC and AC characteristics. * Chapter 12, Package Outlines Shows the mechanical values of the device package. * Chapter 13, Appendix Gives an example for overvoltage protection and information about application notes and other support. * Chapter 14, Glossary * Index
Data Sheet
6
2000-07
PEB 2255 FALC-LH V1.3
Related Documentation
This document refers to the following international standards (in alphabetical/numerical order): ANSI/EIA-656 ANSI T1.102 ANSI T1.403 AT&T PUB 43802 AT&T PUB 54016 AT&T PUB 62411 ESD Ass. Standard EOS/ESD-5.1-1993 ETSI ETS 300 011 ETIS ETS 300 166 ETSI ETS 300 233 ETSI ETS 300 324 ETSI ETS 300 347 ETSI TBR12 ETSI TBR13 FCC Part68 GR-253-CORE GR-499-CORE GR-1089-CORE H.100 H-MVIP IEEE 1149.1 ITU-T G.703 ITU-T G.704 ITU-T G.705 ITU-T G.706 ITU-T G.732 ITU-T G.735 ITU-T G.736 ITU-T G.737 ITU-T G.738 ITU-T G.739 ITU-T G.823 ITU-T G.824 ITU-T G.962 ITU-T G.963 ITU-T G.964 ITU-T I.431 ITU-Q.703 JT-G703 JT-G704 JT-G706 JT-I431 MIL-Std. 883D TR-TSY-000009 UL 1459
Your Comments We welcome your comments on this document. We are continuously trying improving our documentation. Please send your remarks and suggestions by e-mail to sc.docu_comments@infineon.com Please provide in the subject of your e-mail: device name (FALC(R)-LH), device number (PEB 2255), device version (Version 1.3), and in the body of your e-mail: document type (Data Sheet), issue date (2000-07) and document revision number (DS 1).
Data Sheet
7
2000-07
PEB 2255 FALC-LH V1.3
Table of Contents 1 1.1 1.2 1.3 2 2.1 2.2 3 3.1 3.2 3.3 3.3.1 3.3.1.1 3.3.1.2 3.3.1.3 3.3.2 4 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.1.10 4.1.11 4.1.12 4.1.12.1 4.1.12.2 4.1.12.3 4.1.12.4 4.2 4.2.1 4.3 4.3.1 4.3.1.1 4.3.1.2 4.3.1.3 Page 17 18 21 22
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Pin Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Functional Description E1/T1/J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mixed Byte/Word Access to the FIFOs . . . . . . . . . . . . . . . . . . . . . . . FIFO Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boundary Scan Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Description E1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Path in E1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Equalization Network (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Line Attenuation Indication (E1) . . . . . . . . . . . . . . . . . . . . . . . . Receive Clock and Data Recovery (E1) . . . . . . . . . . . . . . . . . . . . . . . . Receive Line Coding (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Loss of Signal Detection (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Jitter Attenuator (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jitter Tolerance (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Output Jitter (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Jitter Attenuator (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Framer/Synchronizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Elastic Buffer (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Signaling Controller (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC or LAPD access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sa bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Channel Associated Signaling CAS (E1, serial mode) . . . . . . . . . . . Channel Associated Signaling CAS (E1, P access mode) . . . . . . . System Interface in E1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time Slot Assigner (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Path in E1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Signaling Controller (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC or LAPD access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sa bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Channel Associated Signaling CAS (E1, serial access mode) . . . . .
8
45 45 46 47 47 47 49 50 52 54 54 55 55 55 55 57 58 60 60 61 62 63 66 66 66 66 68 69 72 73 76 76 76 76
Data Sheet
2000-07
PEB 2255 FALC-LH V1.3
Table of Contents 4.3.1.4 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.4 4.4.1 4.4.2 4.4.2.1 4.4.2.2 4.4.2.3 4.4.2.4 4.4.3 4.4.3.1 4.4.3.2 4.4.3.3 4.4.3.4 4.4.3.5 4.4.3.6 4.4.3.7 4.4.3.8 4.5 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.6 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 5 5.1 5.1.1 5.1.2 5.1.3 Page
Channel Associated Signaling CAS (E1, P access mode) . . . . . . . 77 Transmit Elastic Buffer (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Transmitter (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Transmit Line Interface (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Programmable Pulse Shaper (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Transmit Line Monitor (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Framer Operating Modes (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Doubleframe Format (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Transmit Transparent Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Synchronization Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 A-Bit Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Sa - Bit Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 CRC-Multiframe (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Synchronization Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Automatic Force Resynchronization (E1) . . . . . . . . . . . . . . . . . . . . . 88 Floating Multiframe Alignment Window (E1) . . . . . . . . . . . . . . . . . . . 88 CRC4 Performance Monitoring (E1) . . . . . . . . . . . . . . . . . . . . . . . . . 88 Modified CRC4 Multiframe Alignment Algorithm (E1) . . . . . . . . . . . . 88 A-Bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Sa - Bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 E-Bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Additional Functions (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Error Performance Monitoring and Alarm Handling . . . . . . . . . . . . . . . . 93 Auto Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Error Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Errored Second . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Second Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 In-Band Loop Generation and Detection . . . . . . . . . . . . . . . . . . . . . . . . 95 Time Slot 0 Transparent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Test Functions (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Pseudo-Random Bit Sequence Generation and Monitor . . . . . . . . . . . . 97 Remote Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Payload Loop Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Local Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Single Channel Loop Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Alarm Simulation (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Functional Description T1/J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Path in T1/J1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Equalization Network (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . Receive Line Attenuation Indication (T1/J1) . . . . . . . . . . . . . . . . . . . . Receive Clock and Data Recovery (T1/J1) . . . . . . . . . . . . . . . . . . . . .
9
102 102 103 103 103
Data Sheet
2000-07
PEB 2255 FALC-LH V1.3
Table of Contents 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.10 5.1.11 5.1.12 5.1.12.1 5.1.12.2 5.1.12.3 5.1.12.4 5.1.12.5 5.2 5.2.1 5.3 5.3.1 5.3.1.1 5.3.1.2 5.3.1.3 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.4 5.4.1 5.4.2 5.4.3 5.4.3.1 5.4.4 5.4.4.1 5.4.5 5.4.5.1 5.4.5.2 5.4.5.3 5.4.6 5.4.6.1 5.4.7 5.5 5.5.1 Page 103 104 105 108 109 109 110 111 115 115 115 116 116 116 116 121 123 129 129 129 130 131 133 134 135 136 137 137 137 140 140 140 141 142 142 144 144 144 145 147 148 148
Receive Line Coding (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Loss of Signal Detection (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Jitter Attenuator (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jitter Tolerance (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Output Jitter (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Jitter Attenuator (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Framer/Synchronizer (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Elastic Buffer (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Signaling Controller (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC/SDLC or LAPD Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CAS Bit-robbing (T1/J1, serial access mode) . . . . . . . . . . . . . . . . . CAS Bit-robbing (T1/J1, P access mode) . . . . . . . . . . . . . . . . . . . Bit Oriented Messages in ESF-DL Channel (T1/J1) . . . . . . . . . . . . Data Link Access in F72 Format (T1/J1) . . . . . . . . . . . . . . . . . . . . . System Interface in T1/J1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time Slot Assigner (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Path in T1/J1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Signaling Controller (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . HDLC or LAPD access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CAS Bit-robbing (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Link Access in ESF/F24 and F72 Format (T1/J1) . . . . . . . . . . Transmit Elastic Buffer (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmitter (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Line Interface (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programmable Pulse Shaper and Line Build-Out (T1/J1) . . . . . . . . . . Transmit Line Monitor (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Framer Operating Modes (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Aspects of Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . 4-Frame Multiframe (F4 Format, T1/J1) . . . . . . . . . . . . . . . . . . . . . . . Synchronization Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-Frame Multiframe (D4 or SF Format, T1/J1) . . . . . . . . . . . . . . . . . Synchronization Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extended Superframe (F24 or ESF Format, T1/J1) . . . . . . . . . . . . . . . Synchronization Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote Alarm (yellow alarm) Generation/Detection . . . . . . . . . . . . CRC6 Generation and Checking (T1/J1) . . . . . . . . . . . . . . . . . . . . . 72-Frame Multiframe (SLC96 Format, T1/J1) . . . . . . . . . . . . . . . . . . . Synchronization Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Frame Conditions (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . Additional Functions (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Performance Monitoring and Alarm Handling . . . . . . . . . . . . . . .
10
Data Sheet
2000-07
PEB 2255 FALC-LH V1.3
Table of Contents 5.5.2 5.5.3 5.5.4 5.5.5 5.5.6 5.5.7 5.5.8 5.5.9 5.6 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 6 6.1 6.2 6.3 7 7.1 7.2 7.3 8 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.1.5 8.2 8.3 8.3.1 8.3.2 8.3.3 8.3.4 8.3.5 8.3.6 8.3.7 8.3.8 8.3.9 Page 150 150 150 150 151 151 151 152 152 152 153 154 155 156 157 158 158 158 158 163 163 163 163 169 169 169 169 170 170 171 171 172 172 172 172 172 173 173 173 175 176
Auto Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Errored Second . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Second Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clear Channel Capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . In-Band Loop Generation and Detection . . . . . . . . . . . . . . . . . . . . . . . Transparent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pulse Density Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test Functions (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pseudo-Random Bit Sequence Generation and Monitor . . . . . . . . . . . Remote Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Payload Loop Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Single Channel Loop Back (loopback of time slots) . . . . . . . . . . . . . . Alarm Simulation (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operational Description E1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operational Overview E1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Reset E1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Initialization in E1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operational Description T1/J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operational Overview T1/J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Reset T1/J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Initialization in T1/J1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Signaling Controller Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . HDLC Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Non-Auto-Mode (MODE.MDS2...1 = 01) . . . . . . . . . . . . . . . . . . . . . . . Transparent Mode 1 (MODE.MDS2...0 = 101) . . . . . . . . . . . . . . . . . . Transparent Mode 0 (MODE.MDS2...0 = 100) . . . . . . . . . . . . . . . . . . Receive Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extended Transparent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Signaling Controller Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shared Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preamble Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transparent Transmission and Reception . . . . . . . . . . . . . . . . . . . . . . Cyclic Transmission (fully transparent) . . . . . . . . . . . . . . . . . . . . . . . . CRC ON/OFF Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Receive Address pushed to RFIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC Data Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sa bit Access (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
Data Sheet
2000-07
PEB 2255 FALC-LH V1.3
Table of Contents 8.3.10 8.3.10.1 9 9.1 9.2 9.3 9.4 10 10.1 10.2 10.3 10.4 11 11.1 11.2 11.3 11.4 11.4.1 11.4.2 11.4.3 11.4.4 11.4.5 11.4.5.1 11.4.5.2 11.4.6 11.4.7 11.4.8 11.4.8.1 11.4.8.2 11.5 11.6 11.7 12 13 13.1 13.2 13.3 13.4 14 Page
Bit Oriented Message Mode (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Data Link Access in ESF/F72 Format (T1/J1) . . . . . . . . . . . . . . . . . 178 E1 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E1 Control Register Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detailed Description of E1 Control Registers . . . . . . . . . . . . . . . . . . . . . E1 Status Register Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detailed Description of E1 Status Registers . . . . . . . . . . . . . . . . . . . . . . T1/J1 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T1/J1 Control Register Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detailed Description of T1/J1 Control Registers . . . . . . . . . . . . . . . . . . . T1/J1 Status Register Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detailed Description of T1/J1 Status Registers . . . . . . . . . . . . . . . . . . . . Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recommended Oscillator Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . XTAL Clock Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JTAG Boundary Scan Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Bus Interface Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Bus Interface Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pulse Templates - Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pulse Template E1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pulse Template T1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 180 183 228 230 258 258 261 307 309 335 335 335 336 339 339 339 341 342 342 342 345 347 350 355 355 356 357 358 359
Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Protection Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Differences to Version PEB 2255 V1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . 361 361 362 362 364
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
12 2000-07
Data Sheet
PEB 2255 FALC-LH V1.3
List of Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42
Data Sheet
Page
Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Multiple E1/T1/J1 Link over Frame Relay . . . . . . . . . . . . . . . . . . . . . . 22 8 Channel E1/T1/J1 Interface to the ATM Layer . . . . . . . . . . . . . . . . . 23 Multiple FALC Clocking Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 FIFO Word Access (Intel Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 FIFO Word Access (Motorola Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Interrupt Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Block Diagram of Test Access Port and Boundary Scan . . . . . . . . . . . 53 Receive Clock System (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Receiver Configuration (E1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Jitter Attenuation Performance (E1). . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Jitter Tolerance (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Transmit Clock System (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 The Receive Elastic Buffer as Circularly Organized Memory . . . . . . . 65 2.048 MHz Receive Signaling Highway (E1) . . . . . . . . . . . . . . . . . . . . 68 System Interface (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Receive System Interface Clocking (E1) . . . . . . . . . . . . . . . . . . . . . . . 71 Transmit System Interface Clocking: 2.048 MHz (E1) . . . . . . . . . . . . . 74 Transmit System Interface Clocking: 8.192 MHz/4.096 Mbit/s (E1). . . 75 2.048 MHz Transmit Signaling Highway (E1) . . . . . . . . . . . . . . . . . . . 77 Transmitter Configuration (E1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Transmit Line Monitor Configuration (E1) . . . . . . . . . . . . . . . . . . . . . . 81 Data Flow in Transparent Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 CRC4 Multiframe Alignment Recovery Algorithms . . . . . . . . . . . . . . . 92 Remote Loop (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Payload Loop (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Local Loop (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Single Channel Loopback (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Receive Clock System (T1/J1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Receiver Configuration (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Jitter Attenuation Performance (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . 107 Jitter Tolerance (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Transmit Clock System (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 The Receive Elastic Buffer as Circularly Organized Memory . . . . . . 113 System Interface (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Receive System Interface Clocking (T1/J1) . . . . . . . . . . . . . . . . . . . . 119 2.048 Mbit/s Receive Signaling Highway (T1/J1) . . . . . . . . . . . . . . . 120 1.544 Mbit/s Receive Signaling Highway (T1/J1) . . . . . . . . . . . . . . . 120 Receive FS/DL Bits in Time Slot 0 on RDO (T1/J1). . . . . . . . . . . . . . 122 Transmit System Interface Clocking: 1.544 MHz (T1/J1). . . . . . . . . . 124
13 2000-07
PEB 2255 FALC-LH V1.3
List of Figures Figure 43 Figure 44 Figure 45 Figure 46 Figure 47 Figure 48 Figure 49 Figure 50 Figure 51 Figure 52 Figure 53 Figure 54 Figure 55 Figure 56 Figure 57 Figure 58 Figure 59 Figure 60 Figure 61 Figure 62 Figure 63 Figure 64 Figure 65 Figure 66 Figure 67 Figure 68 Figure 69 Figure 70 Figure 71 Figure 72 Figure 73 Figure 74 Figure 75 Figure 76 Figure 77 Figure 78 Figure 79 Figure 80 Figure 81 Figure 82 Figure 83 Figure 84
Data Sheet
Page 125 126 126 127 128 129 134 136 139 153 154 155 156 170 171 174 175 175 339 339 339 340 341 342 342 343 343 344 345 346 347 348 350 351 351 353 355 356 358 359 361 363
Transmit System Interface Clocking: 8 MHz/4 Mbit/s (T1/J1) . . . . . . 2.048 Mbit/s Transmit Signaling Clocking (T1/J1) . . . . . . . . . . . . . . . 1.544 Mbit/s Transmit Signaling Highway (T1/J1) . . . . . . . . . . . . . . . Signaling Marker for CAS/CAS-CC Applications (T1/J1) . . . . . . . . . . Signaling Marker for CAS-BR Applications (T1/J1) . . . . . . . . . . . . . . Transmit FS/DL Bits on XDI (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . Transmitter Configuration (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit Line Monitor Configuration (T1/J1) . . . . . . . . . . . . . . . . . . . Influences on Synchronization Status (T1/J1) . . . . . . . . . . . . . . . . . . Remote Loop (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Payload Loop (T1/J1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local Loop (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Channel Loopback (T1/J1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HDLC Receive Data Flow of FALC(R)-LH . . . . . . . . . . . . . . . . . . . . . . HDLC Transmit Data Flow of FALC(R)-LH . . . . . . . . . . . . . . . . . . . . . Interrupt Driven Data Transmission (flow diagram) . . . . . . . . . . . . . . Interrupt Driven Transmission Example . . . . . . . . . . . . . . . . . . . . . . . Interrupt Driven Reception Sequence Example . . . . . . . . . . . . . . . . . Crystal Oscillator Circuit (master/slave mode) . . . . . . . . . . . . . . . . . . External Oscillator Circuit (master mode) . . . . . . . . . . . . . . . . . . . . . XTAL External Clock Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External Pullable Crystal Tuning Range . . . . . . . . . . . . . . . . . . . . . . JTAG Boundary Scan Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Non-Multiplexed Address Timing . . . . . . . . . . . . . . . . . . . . . . . . Intel Multiplexed Address Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Read Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Write Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Read Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Write Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Timing of Dual Rail Optical Interface . . . . . . . . . . . . . . . . . . . . . . . . . Receive Clock and RFSP/FREEZS Timing . . . . . . . . . . . . . . . . . . . . System Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XMFS Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XMFS Timing (cont'd.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Clock Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pulse Shape at Transmitter Output for E1 Applications. . . . . . . . . . . T1 Pulse Shape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thermal Behavior of Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input/Output Waveforms for AC Testing . . . . . . . . . . . . . . . . . . . . . . Protection Circuitry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External Line Frontend Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . .
14
2000-07
PEB 2255 FALC-LH V1.3
List of Tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 Table 16 Table 17 Table 18 Table 19 Table 20 Table 21 Table 22 Table 23 Table 24 Table 25 Table 26 Table 27 Table 28 Table 29 Table 30 Table 31 Table 32 Table 33 Table 34 Table 35 Table 36 Table 37 Table 38 Table 39 Table 40 Table 41 Table 42
Data Sheet
Page
Pin Definitions - Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . 25 Pin Definitions - Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Pin Definitions - Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Pin Definitions - System Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Pin Definitions - Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Data Bus Access (16-Bit Intel Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Data Bus Access (16-Bit Motorola Mode) . . . . . . . . . . . . . . . . . . . . . . 48 Selectable Bus and Microprocessor Interface Configuration . . . . . . . . 48 Recommended Receiver Configuration Values (E1) . . . . . . . . . . . . . 56 System Clocking (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Output Jitter (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Receive Buffer Operating Modes (E1) . . . . . . . . . . . . . . . . . . . . . . . . . 64 System Clock and Data Rates (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Time Slot Assigner (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Transmit Buffer Operating Modes (E1) . . . . . . . . . . . . . . . . . . . . . . . . 78 Example Transmitter Configuration Values (E1) . . . . . . . . . . . . . . . . . 79 Allocation of Bits 1 to 8 of Time Slot 0 (E1) . . . . . . . . . . . . . . . . . . . . . 83 Transmit Transparent Mode (Doubleframe E1) . . . . . . . . . . . . . . . . . . 84 CRC-Multiframe Structure (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Transmit Transparent Mode (CRC Multiframe E1) . . . . . . . . . . . . . . . 87 Summary of Alarm Detection and Release (E1) . . . . . . . . . . . . . . . . . 93 Recommended Receiver Configuration Values (T1/J1). . . . . . . . . . . 104 System Clocking (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Output Jitter (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Receive Buffer Operating Modes (T1/J1) . . . . . . . . . . . . . . . . . . . . . 112 Channel Translation Modes (T1/J1). . . . . . . . . . . . . . . . . . . . . . . . . . 113 System Clock and Data Rates (T1/J1). . . . . . . . . . . . . . . . . . . . . . . . 117 Time Slot Assigner (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Transmit Buffer Operating Modes (T1/J1) . . . . . . . . . . . . . . . . . . . . . 132 Example Transmitter Configuration Values (T1/J1) . . . . . . . . . . . . . . 134 Pulse Shaper Programming (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . 135 Resynchronization Timing (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 4-Frame Multiframe Structure (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . 140 12-Frame Multiframe Structure (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . 141 Extended Superframe Structure (F24, ESF; T1/J1) . . . . . . . . . . . . . . 142 72-Frame Multiframe Structure (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . 146 Summary Frame Recover/Out of Frame Conditions (T1/J1) . . . . . . . 147 Summary of Alarm Detection and Release (T1/J1) . . . . . . . . . . . . . . 148 Initial Values after Reset (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Initialization Parameters (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Line Interface Initialization (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 Framer Initialization (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
15 2000-07
PEB 2255 FALC-LH V1.3
List of Tables Table 43 Table 44 Table 45 Table 46 Table 47 Table 48 Table 49 Table 50 Table 51 Table 52 Table 53 Table 54 Table 55 Table 56 Table 57 Table 58 Table 59 Table 60 Table 61 Table 62 Table 63 Table 64 Table 65 Table 66 Table 67 Table 68 Table 69 Table 70 Table 71 Page 162 162 164 165 166 166 167 168 180 228 258 288 307 335 335 336 339 341 342 344 346 347 348 351 354 356 357 358 359
HDLC Controller Initialization (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . CAS-CC Initialization (E1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initial Values after reset and FMR1.PMOD = 1 (T1/J1) . . . . . . . . . . . Initialization Parameters (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Line Interface Initialization (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . Framer Initialization (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initialization of the HDLC controller (T1/J1) . . . . . . . . . . . . . . . . . . . . Initialization of the CAS-BR Controller (T1/J1). . . . . . . . . . . . . . . . . . E1 Control Register Address Arrangement . . . . . . . . . . . . . . . . . . . . E1 Status Register Address Arrangement . . . . . . . . . . . . . . . . . . . . . T1/J1 Control Register Address Arrangement . . . . . . . . . . . . . . . . . . Pulse Shaper Programming (T1/J1) . . . . . . . . . . . . . . . . . . . . . . . . . T1/J1 Status Register Address Arrangement . . . . . . . . . . . . . . . . . . Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XTAL Timing Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . JTAG Boundary Scan Timing Parameter Values. . . . . . . . . . . . . . . . Reset Timing Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Bus Interface Timing Parameter Values . . . . . . . . . . . . . . . . . . Motorola Bus Interface Timing Parameter Values . . . . . . . . . . . . . . . Dual Rail Optical Interface Parameter Values . . . . . . . . . . . . . . . . . . Receive Clock and RFSP/FREEZS Timing Parameter Values . . . . . System Interface Timing Parameter Values . . . . . . . . . . . . . . . . . . . System Clock Timing Parameter Values . . . . . . . . . . . . . . . . . . . . . . T1 Pulse Template (ANSI T1.102) . . . . . . . . . . . . . . . . . . . . . . . . . . . Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Characteristic Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Sheet
16
2000-07
PEB 2255 FALC-LH V1.3
Introduction
1
Introduction
The FALC(R)-LH framer and line interface component is designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway, H.100 or H-MVIP bus for world market telecommunication systems. Due to its multitude of implemented functions, it fits to a wide range of networking applications and fulfills the according international standards. The FALC(R)-LH offers a generic E1/T1/J1 analog line interface without the need to change external components. Optional crystal-less jitter attenuation reduces the amount of required external components. Equipped with a flexible microprocessor interface, it connects to any control processor environment. A standard boundary scan interface is provided to support board level testing. Flat pack device packaging, small number of external components and low power consumption lead to reduced overall system costs. Other members of the FALC(R) family are the FALC (R)54 for short haul applications, the FALC(R)56 for long haul and short haul applications as well as the QuadFALCTM supplying four long haul and short haul interfaces on one single chip.
Data Sheet
17
2000-07
E1/T1/J1 Framer and Line Interface Component for Long and Short Haul Applications FALC(R)-LH
PEB 2255
Version 1.3
1.1
Features
Line Interface * High density, generic interface for all E1/T1/J1 applications * Analog receive and transmit circuitry for long haul and short haul applications P-MQFP-80-1 * Data and clock recovery using an integrated digital phase locked loop * Maximum line attenuation up to -43 dB at 1024 kHz (E1) and up to -36 dB at 772 kHz (T1/J1) * Programmable transmit pulse shapes for E1 and T1/J1 pulse masks * Programmable line build-out for CSU signals according to ANSI T1.403 + FCC68 in steps of 0 dB, -7.5 dB, -15 dB and -22.5 dB (T1/J1) * Low transmitter output impedances for high transmit return loss * Tristate function of the analog transmit line outputs * Transmit line monitor protecting the device from damage * Jitter specifications of ITU-T I.431, G.703, G.736 (E1), G.823 (E1) and AT&T TR62411 (T1/J1) are met * Optional crystal-less wander and jitter attenuation/compensation * Dual rail or single rail digital inputs and outputs * Unipolar NRZ or CMI coding for interfacing fibre optical transmission routes * Selectable line codes (E1: HDB3, AMI - T1/J1: B8ZS, AMI with ZCS) for analog interface * Loss of signal indication with programmable thresholds according to ITU-T G.775 and ETS300233 (E1)/ANSI T1.403, T1.231(T1/J1) * Clock generator for jitter free system/transmit clocks * Local loop and remote loop for diagnostic purposes * Only one type of transformer (ratio 1: 2 ) for E1 75/120 and T1/J1 100/110
Type PEB 2255
Data Sheet
Package P-MQFP-80-1
18 2000-07
PEB 2255 FALC-LH V1.3
Introduction Frame Aligner * Frame alignment/synthesis for 2048 kbit/s according to ITU-T G.704 (E1) and for 1544 kbit/s according to ITU-T G.704 and JT G.704 (T1/J1) * Programmable frame formats : E1: Doubleframe, CRC Multiframe (E1) T1: 4-Frame Multiframe (F4,FT), 12-Frame Multiframe (F12, D3/4), Extended Superframe (F24, ESF), Remote Switch Mode (F72, SLC96) * Selectable conditions for recover/loss of frame alignment * CRC4 to non-CRC4 interworking of ITU-T G. 706 Annex B (E1) * Error checking via CRC4 procedures according to ITU-T G. 706 (E1) * Error checking via CRC6 procedures according to ITU-T G. 706 and JT G.706 (T1/J1) * Performs synchronization in ESF format according to NTT requirements (J1) * Alarm and performance monitoring per second 16 bit counter for CRC-, framing errors, code violations, error monitoring via E bit and SA6 bit (E1), errored blocks, PRBS bit errors * Insertion and extraction of alarm indication signals (AIS, RemoteYellow Alarm, AUXP) * IDLE code insertion for selectable channels * 8.192 MHz/2.048 MHz (E1) or 8.192 MHz/1.544 MHz (T1/J1) system clock frequency * Selectable 2048/4096 kbit/s backplane interface with programmable receive/transmit timeslot offset * Programmable tristate function of 4096 kbit/s output via RDO * Elastic store for receive and transmit route clock wander and jitter compensation; controlled slip capability and slip indication * Programmable elastic buffer size: 2 frames/1 frame/short buffer/bypass * Supports fractional E1 or T1 access * Flexible transparent modes * Programmable In-Band Loop Code detection and generation (TR62411) * Channel loop back, line loop back or payload loop back capabilities (TR54016) * Pseudo random bit sequence (PRBS) generator and monitor * Provides loop-timed mode * Clear channel capabilities (T1/J1) Signaling Controller * HDLC controller Bit stuffing, CRC check and generation, flag generation, flag and address recognition, handling of bit oriented functions, programmable preamble * DL-channel protocol for ESF format according to ANSI T1.403 or according to AT&T TR54016 (T1/J1) * DL-channel protocol for F72 (SLC96) format * CAS controller with last look capability, enhanced CAS- register access and freeze signaling indication * Robbed bit signaling capability (T1/J1)
Data Sheet 19 2000-07
PEB 2255 FALC-LH V1.3
Introduction * * * * * * Provides access to serial signaling data streams CAS Multiframe synchronization and synthesis according to ITU-T G.732 Alarm insertion and detection (AIS and LOS in Timeslot 16) Transparent mode FIFO buffers (64 bytes deep) for efficient transfer of data packets. Time-slot assignment Any combination of time slots selectable for data transfer independent of signaling mode
Microprocessor Interface * * * * * * 8/16 bit microprocessor bus interface (Intel or Motorola type) All registers directly accessible (byte or word access) Multiplexed and non-multiplexed address bus operations Extended interrupt capabilities Hardware and software reset One second timer
General * * * * Boundary scan standard IEEE 1149.1 P-MQFP-80 package; body size 14x14; pitch 0.65 5V power supply Typical power consumption 450 mW
Applications * * * * * * * * Wireless Basestations E1/T1/J1 ATM Gateways, Multiplexer E1/T1/J1 Channel & Data Service Units (CSU, DSU) E1/T1/J1 Internet Access Equipment LAN/WAN Router ISDN PRI, PABX Digital Access Cross Connect Systems (DACS) SONET/SDH Add/Drop Multiplexer
Data Sheet
20
2000-07
PEB 2255 FALC-LH V1.3
Introduction
1.2
Logic Symbol
System Clocks
Receive Line Interface
ROID RL1 / RDIP / ROID RL2 / RDIN / RCLKI REFR VDDR VSSR TDI TMS TCK TDO
SYNC SYNC2 CLK16M CLK12M CLK8M CLKX FSC SCLKR SYPR/RFM RSIGM RMFB DLR/RSIG RDO
RFSP RCLK
XTAL1 XTAL2 XTAL3 XTAL4
Receive System Interface
Boundary Scan
FALC(R)-LH PEB 2255
XSIG XSIGM XMFB DLX XDI XMFS SCLKX SYPX RES INT
XL1M XL1 / XDOP / XOID Transmit Line Interface XL2 / XDON XL2M XOID XCLK / FSC ALE RD/DS WR/RW BHE/BLE DBW CS IM VDDX VSSX VDD VSS
Transmit System Interface
A(0-6) D(0-15)
F0044
Microprocessor Interface
Figure 1
Logic Symbol
Data Sheet
21
2000-07
PEB 2255 FALC-LH V1.3
Introduction
1.3
Typical Applications
The figures show a multiple link circuit for Frame Relay applications using the FALC-LH together with the 128 channel HDLC controller M128X and the Memory Timeswitch MTLS as well as an 8 channel interface to the ATM layer combined with n IWE8 device.
*
E1 / T1 / J1
FALC(R)-LH PEB 2255
E1 / T1 / J1
FALC(R)-LH PEB 2255 MTSL PEB 2047 Memory Time Switch
E1 / T1 / J1
FALC(R)-LH PEB 2255
E1 / T1 / J1
FALC(R)-LH PEB 2255
Clock Clock
Clock(s)
MUNICH128X PEB 20324
PCI/Generic System Bus
CPU
Memory
F0024
Figure 2
Multiple E1/T1/J1 Link over Frame Relay
Data Sheet
22
2000-07
PEB 2255 FALC-LH V1.3
Introduction
*
Port 1
E1 / T1 / J1 FALC(R)-LH PEB 2255 AAL1 or ATM Mode
IWE8 PXB 4220
ATM Layer
Port 8
E1 / T1 / J1 FALC(R)-LH PEB 2255 RAM F0026
Figure 3
*
8 Channel E1/T1/J1 Interface to the ATM Layer
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
FALC(R)-LH PEB 2255
Clock(s)
Clock(s)
pullable crystals
F0045
Figure 4
Multiple FALC Clocking Options
Data Sheet
23
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
2
2.1
*
Pin Descriptions
Pin Diagram
(top view) P-MQFP-80-1
SYNC XSIGM RSIGM RD0 INT XDI RES BHE/BLE CS WR/RW RD/DS ALE A6 A5 A4 A3 A2 A1 A0 D0
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 XMFS SCLKX SCLKR SYPX SYPR /RFM FSC RMFB XMFB /XOID DLX DLR/RSIG FREEZS/RFSP RCLK VDD VSS CLK 16M CLK 12M CLK 8M CLKX FSC/XCLK XSIG/SYNC2/ROID 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 D1 D2 D3 VSS VDD D4 D5 D6 D7 D8 D9 D10 D11 VSS VDD D12 D13 D14 D15 TD0
FALC R -LH PEB 2255
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
VDDR RL1/RDIP/ROID REFR RL2/RDIN/RCLKI VSSR XTAL2 XTAL1 IM XTAL4 XTAL3 DBW XL2M XL2/XDON VSSX XL1/XDOP/XOID VDDX XL1M TDI TMS TCK
ITP10482
Figure 5
Pin Configuration
Data Sheet
24
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
2.2
* *
Pin Definitions and Functions
Pin Definitions - Microprocessor Interface Symbol Input (I) Output (O) Supply (S) Function
Table 1 Pin No.
42...48
A0 ... A6 I
Address Bus These inputs interface to seven bits of the system's address bus to select one of the internal registers for read or write. Data Bus Bidirectional tristate data lines which interface to the system's data bus. Their configuration is controlled by the level of pin DBW: 8-bit mode (DBW = 0): D0 ... D7 are active. D8 ... D15 are in high impedance and have to be connected to VDD or VSS. 16-bit mode (DBW = 1): D0 ... D15 are active. In case of byte transfers, the active half of the bus is determined by A0 and BHE/BLE and the selected bus interface mode (via pin IM). The unused half is in high impedance state. Address Latch Enable A high on this line indicates an address on the external address/data bus. The address information provided on lines A0 ... A6 is internally latched with the falling edge of ALE. This function allows the FALC(R)-LH to be connected to a multiplexed address/data bus directly. In this case, pins A0 ... A6 must be connected to the Data Bus pins externally. In case of demultiplexed mode this pin has to be connected to VDD or VSS directly. Chip Select A low signal selects the FALC(R)-LH for read and write operations.
41...38 35...28 25...22
D0...D3 I/O D4...D11 D12..D15
49
ALE
I
52
CS
I
Data Sheet
25
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 1 Pin No. Pin Definitions - Microprocessor Interface (cont'd) Symbol Input (I) Output (O) Supply (S) I Function
50
RD/DS
Read Enable (Intel bus mode) This signal indicates a read operation. When the FALC(R)-LH is selected via CS, the RD signal enables the bus drivers to output data from an internal register addressed by A0 ... A6 on to the Data Bus. Data Strobe (Motorola bus mode) This pin serves as input to control read/write operations. It is logically ored with pin CS. Write Enable (Intel bus mode) This signal indicates a write operation. When CS is active the FALC(R)-LH loads an internal register with data provided on the Data Bus. Read/Write Enable (Motorola bus mode) This signal distinguishes between read and write operation. Data Bus Width (Bus Interface Mode) A low signal on this input selects the 8-bit bus interface mode. A high signal on this input selects the 16-bit bus interface mode. In this case word transfer to/from the internal registers is enabled. Byte transfers are implemented by using A0 and BHE/BLE. Interface Mode The level at this pin defines the bus interface mode: A low signal on this input selects the Intel interface mode. A high signal on this input selects the Motorola interface mode.
51
WR/RW
I
11
DBW
I
8
IM
I
Data Sheet
26
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 1 Pin No. Pin Definitions - Microprocessor Interface (cont'd) Symbol Input (I) Output (O) Supply (S) Function
53
BHE/BLE I + PU
Bus High Enable (Intel bus mode) If 16-bit bus interface mode is enabled, this signal indicates a data transfer on the upper byte of the data bus (D8 ... D15). In 8-bit bus interface mode this signal has no function and should be tied to VDD. Bus Low Enable (Motorola bus mode) If 16-bit bus interface mode is enabled, this signal indicates a data transfer on the lower byte of the data bus (D0 ... D7). In 8-bit bus interface mode this signal has no function and should be tied to VDD. Interrupt Request INT serves as general interrupt request which may include all interrupt sources. These interrupt sources can be masked via registers IMR0 ... 5. Interrupt status is reported via registers GIS (Global Interrupt Status) and ISR0 ... 3,5. Output characteristics (push-pull active low/ high, open drain) are determined by programming the IPC register. (oD = open drain output)
56
INT
O/oD
Data Sheet
27
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
*
Table 2 Pin No.
Pin Definitions - Line Interface Symbol Input (I) Output (O) Supply (S) I (analog) Function
Line Interface Receive 2 RL1 Line Receiver 1 Analog Input from the external transformer. Selected if LIM1.DRS = 0. Receive Data Input Positive Digital input for received dual rail PCM(+) route signal which will be latched with the internal generated Receive Route Clock. An internal DPLL will extract the Receive Route Clock from the incoming data pulse. The Duty cycle of the received signal has to be close to 50%. The Dual Rail mode is selected if LIM1.DRS = 1 and FMR0.RC1 = 1. Input polarity is selected by bit RC0.RDIS (after reset: active low). Receive Optical Interface Data Unipolar data received from fiber optical interface with 2048 kbit/s (E1) or 1544 kbit/s (T1/ J1). Latching of data is done with the falling edge of RCLKI. Input polarity is selected by bit RC0.RDIS. The Single Rail mode is selected if LIM1.DRS = 1 and FMR0.RC1 = 0. Receive Optical Interface Data LOOP.SPN = 1 Unipolar data received from fiber optical interface with 2048 kbit/s (E1) or 1544 kbit/s (T1/ J1). Latching of data is done with the falling edge of RCLKI. Input polarity is selected by bit RC0.RDIS. The Single Rail mode is selected if LIM1.DRS = 1 and FMR0.RC1 = 0.
RDIP
I
ROID
I
80
ROID
I
Note: This pin contains multiple functions, see also SYNC2 and XSIG.
Data Sheet
28
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 2 Pin No. Pin Definitions - Line Interface (cont'd) Symbol Input (I) Output (O) Supply (S) I (analog) Function
4
RL2
Line Receiver 2 Analog Input from the external transformer. Selected if LIM1.DRS = 0. Receive Data Input Negative Input for received dual rail PCM(-) route signal which will be latched with the internal generated Receive Route Clock. An internal DPLL will extract the Receive Route Clock from the incoming data pulse. The duty cycle of the received signal has to be close to 50%. The dual rail mode is selected if LIM1.DRS = 1 and FMR0.RC1 = 1. Input polarity is selected by bit RC0.RDIS (after reset: active low). Receive Clock Input Receive clock input for the optical interface if LIM1.DRS = 1 and FMR0.RC1/0 = 00. Clock frequency: 2048 kHz (E1) or 1544 kHz (T1/J1).
RDIN
I
RCLKI
I
Data Sheet
29
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 2 Pin No. Pin Definitions - Line Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O (analog) Function
Line Interface Transmit 15 XL1 Transmit Line 1 Analog output to the external transformer. Selected if LIM1.DRS = 0. After reset this pin is in a high impedance state until bit FMR0.XC1 is set. Transmit Data Output Positive This digital output for transmitted dual rail PCM(+) route signals can provide - half bauded signals with 50% duty cycle (LIM0.XFB = 0) or - full bauded signals with 100% duty cycle (LIM0.XFB = 1) The data will be clocked off on the positive transitions of XCLK in both cases. Output polarity is selected by bit LIM0.XDOS (after reset: active low). The dual rail mode is selected if LIM1.DRS = 1 and FMR0.XC1 = 1. After reset this pin is in a high impedance state until register LIM1.DRS is set. Transmit Optical Interface Data Unipolar data sent to fiber optical interface with 2048 kbit/s (E1) or 1544 kbit/s (T1/J1) which will be clocked off on the positive transitions of XCLK. Clocking off data in NRZ code is done with 100% duty cycle. Data in CMI code (E1 only) are shifted out with 50% or 100% duty cycle according to the CMI coding. Output polarity is selected by bit LIM0.XDOS (after reset: data is sent active high). The single rail mode is selected if LIM1.DRS = 1 and FMR0.XC1 = 0. After reset this pin is in a high impedance state until register LIM1.DRS is set. If LOOP.SPN = 1 this pin function is not defined and should be tristated by enabling XPM2.XLT.
XDOP
O
XOID
O
Data Sheet
30
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 2 Pin No. Pin Definitions - Line Interface (cont'd) Symbol Input (I) Output (O) Supply (S) I Function
17
XL1M
Transmit Line 1 Monitor Analog input from external transmit transformer (XL1). This pin must be connected, otherwise pin XL1 could be set into high impedance state automatically. If digital line interface mode is selected (LIM1.DRS = 1), this input has to be connected to VSSX. Transmit Line 2 Analog output for the external transformer. Selected if LIM1.DRS = 0. After reset this pin is in a high impedance state until bit FMR0.XC1 is set. Transmit Data Output Negative This digital output for transmitted dual rail PCM(-) route signals can provide - half bauded signals with 50% duty cycle (LIM0.XFB = 0) or - full bauded signals with 100% duty cycle (LIM0.XFB = 1) The data will be clocked off on the positive transitions of XCLK in both cases. Output polarity is selected by bit LIM0.XDOS (after reset: active low). The dual rail mode is selected if LIM1.DRS = 1 and FMR0.XC1 = 1. After reset this pin is in a high impedance state until register LIM1.DRS is set. Transmit Line 2 Monitor Analog input from external transmit transformer (XL2). This pin must be connected, otherwise pin XL2 could be set into high impedance state automatically. If digital line interface mode is selected (LIM1.DRS = 1), this input has to be connected to VSSX.
13
XL2
O (analog)
XDON
O
12
XL2M
I
Data Sheet
31
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
*
Table 3 Pin No.
Pin Definitions - Clock Generation Symbol Input (I) Output (O) Supply (S) I O Function
7 6
XTAL1 XTAL2
Crystal Connection 16.384 MHz A pullable crystal of 16.384 MHz has to be provided at these pins, if jitter attenuation of the system clocks is done internally. If not, or if crystal-less jitter attenuation is used, either a regular crystal of 16.384 MHz has to be connected to XTAL1/XTAL2 or a 16.384-MHz clock must be connected to XTAL1 while XTAL2 is left open. Crystal Connection 16.384 MHz (E1)/12.352 MHz (T1/J1) A pullable crystal of 16.384 MHz/12.352 MHz is only required at these pins, if jitter attenuation of the transmit clocks is done internally. If jitter attenuation is provided externally, the jitter attenuated clock of 16.384 MHz/12.352 MHz has to be applied to XTAL3 while XTAL4 is left open. If crystal-less jitter attenuation is used, either a regular crystal of16.384 MHz/12.352 MHz has to be connected to XTAL3/XTAL4 or a 16.384MHz/12.352-MHz clock has to be connected to XTAL3 while XTAL4 is left open. E1 mode only: If no transmit jitter attenuation is required, XTAL3 should be connected to VDD or VSS, XTAL4 is to be left open. Transmit Clock Transmit clock of 2.048 MHz (E1) or 1.544 MHz (T1/J1). This clock is driven from SCLKX or RCLK or generated internally. 8 kHz Frame Synchronization Pulse is output on this pin, if LIM1.EFSC = 1 is selected. The synchronization pulse is active high for one cycle (pulse width = 488 ns) and derived from the clock supplied on pin CLK16M.
10 9
XTAL3 XTAL4
I O
79
XCLK
O
FSC
O
Data Sheet
32
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 3 Pin No. Pin Definitions - Clock Generation (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
66
FSC
8 kHz Frame Synchronization Pulse is output on this pin. The synchronization pulse is active low for one cycle (pulse width = 488 ns) and derived from the clock supplied on pin CLK16M. System Clock 16.384 MHz Buffered XTAL1 clock (LIM3.CSC=1) or jitter attenuated clock (LIM3.CSC=0, if crystal-less jitter attenuation is used). System Clock 16.384 MHz (E1)/12.384 MHz (T1/J1) Buffered XTAL3 clock (LIM3.CSC=1) or jitter attenuated clock (LIM3.CSC=0, if crystal-less jitter attenuation is used). System Clock 8.192 MHz Clock derived from CLK16M reference. System Clock Output Output frequencies are 2.048 MHz or 4.096 MHz, inverted or non-inverted. The clock is derived from CLK16M, frequency and polarity in relation to FSC are selected by setting of LIM0.SCL1...0. Clock Synchronization If a clock is detected at the SYNC pin, the FALC(R)-LH synchronizes to this 2.048-MHz (E1)/ 2.048 or 1.544-MHz (T1/J1) clock if in master mode or if signal is lost in slave mode. This pin has to be connected to VSS, if no clock is supplied.
75
CLK16M
O
76
CLK12M
O
77 78
CLK8M CLKX
O O
60
SYNC
I
Data Sheet
33
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 3 Pin No. Pin Definitions - Clock Generation (cont'd) Symbol Input (I) Output (O) Supply (S) I Function
80
SYNC2
Clock Synchronization 2 Secondary reference clock for internal transmit clock generation. The clock frequency is 2.048-MHz (E1) or 2.048/ 1.544-MHz (T1/J1). This function is selected by setting LIM3.ESY=1
Note: This pin contains multiple functions, see also ROID and XSIG.
72 RCLK O + PU Receive Clock extracted from the incoming data pulses. Clock frequency: 2048 kHz (E1) or 1544 kHz (T1/J1) In case of loss of signal (LOS) the RCLK is derived from the clock that is provided on XTAL1. If LIM0.ELOS is set, RCLK is set high in case of loss of signal (FRS0.LOS = 1). If NRZ mode is selected, RCLK is the buffered RCLKI clock.
Data Sheet
34
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
*
Table 4 Pin No.
Pin Definitions - System Interface Symbol Input (I) Output (O) Supply (S) O Function
System Interface Receive 57 RDO Receive Data Out Received data which is sent to the system highway at 4096 kbit/s, 2048 kbit/s or 1544 kbit/s (T1/J1 only). In 4096 kbit/s mode data is shifted out in the channel phase which is selected by RC0.SICS. During the other channel phase RDO is set into tristate. Clocking off data is done with the falling edge of SCLKR or RCLK, if the receive elastic store is bypassed. The delay between the beginning of time-slot 0 and the initial edge of SCLKR (after SYPR goes active) is determined by the values of registers RC1 and RC0. 70 DLR O Data Link Bit Receive E1 mode: Marks the SA4...8 bits within the data steam on RDO. The SA4...8 bit positions in time slot 0 of every frame not containing the frame alignment signal are selected by register XC0.SA4ESA8E. T1/J1 mode: Provides a signal which marks the DL bit position within the data stream on RDO. It can be used as receive strobe signal for external data link controllers. In 4096 kbit/s mode DLR is active only during the channel phase selected by RCO.SICS. Receive Signaling Data Output for receive signaling data sent to the signaling highway. This function is selected by setting LOOP.SPN = 1 LIM3.ESY = 1 XSP.CASEN = 0
RSIG
O
Data Sheet
35
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
71
RFSP
Receive Frame Synchronous Pulse E1: FMR3.CFRZ = 0 T1/J1: XC0.SFRZ = 0 Active low framing pulse derived from the received PCM route signal. During loss of synchronization (bit FRS0.LFA) this pulse is suppressed (not influenced during alarm simulation). The pulse frequency is 8 kHz, pulse width is 488 ns (E1) or 648 ns (T1/J1). PRBS Monitor Status The status of the PRBS monitor is output on this pin, if FMR3.CFRZ = 0 (E1) or XC0.SFRZ = 1 (T1/J1) and LCR1.EPRM = 1. It is set high, if the PRBS monitor is in synchronous state. Freeze Signaling (T1/J1) If XC0.SFRZ = 1 (T1/J1) or FMR3.CFRZ = 1 (E1) and LCR1.EPRM = 0, the Freeze Signaling Status is indicated. Register access (LOOP.SPN=0 and LIM3.ESY=0): * E1: Bit FRS1.TSL16LFA = 1 * T1: FRS0.LFA/LMFA = 1 or a receive slip (positive or negative) occurred Serial signaling access (LOOP.SPN=1 and LIM3.ESY=1): * E1: Bit FRS1.TSL16LFA = 1 or FRS0.LOS=1 or a receive slip occurred * T1: FRS0.LFA/LMFA = 1 or FRS0.LOS=1 or a receive slip occurred The signal is cleared after an error-free superframe. During alarm simulation this signal gets active during simulation steps 2 and 6.
O
FREEZS
O
Data Sheet
36
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) I Function
65
SYPR
Synchronous Pulse Receive SIC2.SRFSO = 0 (reset value): Defines the beginning of time slot 0 on system highway port RDO together with the values of RC0.RCO, RC0.RCOS and RC1.RTO. Sampling is done with the falling edge of SCLKR. The pulse cycle is an integer multiple of 125 s. Receive Frame Marker SIC2.SRFSO = 1: This marker will be active high for one 2.048MHz (E1)/1.544-MHz (T1/J1) cycle (SIC1.SRSC = 1; 2.048 Mbit/s PCM highway interface mode) or two 8.192-MHz cycles (SIC1.SRSC = 0; 4.096 Mbit/s PCM highway interface mode). It is clocked with the falling edge of SCLKR or RCLK, depending on the selected receive buffer size (SIC1).The marker can be activated within any bit position of a received frame (RC0/1). System Clock Receive Working clock for the receive system interface with a frequency of 8.192 MHz (SIC1.SRSC = 0, SIC1.SXSC=0) or 2.048 MHz (E1)/1.544 MHz (T1/J1) (SIC1.SRSC = 1, SIC1.SXSC=1). If the receive elastic store is bypassed (SIC1.RBS1...0), the clock supplied on this pin is ignored. During reset phase, a clock has to be provided.
RFM
O
63
SCLKR
I
Data Sheet
37
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
58
RSIGM
Receive Signaling Marker E1/T1/J1 mode: Marks the time-slots which are defined by register RTR1-4 of every received frame on port RDO. T1/J1 CAS-BR mode: When using the CAS-BR signaling scheme, the robbed bit of each channel every six frames is marked, if it is enabled via register XC0.BRM = 1. General: In 4096 kbit/s mode RSIGM is active only during the channel phase selected by RCO.SICS.
67
RMFB
O
Receive Multiframe Begin RMFB marks the beginning of every received multiframe (RDO, first bit of the FAS word in frame 1 of a multiframe). Active high for one 2048 kbit/s period. In 4096 kbit/s mode RMFB is active during the first two bits of channel phase one of a multiframe. In T1/J1 mode the function depends on programming bit XC0.MFBS: MFBS = 1: RMFB marks the beginning of every received multiframe (RDO). MFBS = 0: Marks the beginning of every received superframe. Additional pulses every 12 frames are provided when using ESF/F24 or F72 format.
Data Sheet
38
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
System Interface Transmit 68 XMFB Transmit Multiframe Begin E1 mode/LOOP.SPN = 0: Marks the begin of every transmitted multiframe (XDI). T1/J1 mode/XC0.MFBS = 1: XMFB marks the beginning of every transmitted multiframe (XDI). T1/J1 mode/XC0.MFBS = 0: XMFB marks the beginning of every transmitted superframe. Additional pulses every 12 frames are provided when using ESF/F24 or F72 format. General: This signal is always active high for one 2048 kbit/s period. In 4096 kbit/s mode, it is active during the first two bits of a multiframe. XOID O Transmit Optical Interface Data E1 mode only/LOOP.SPN = 1: Unipolar data sent to fiber optical interface with 2048 kbit/s which will be clocked off on the positive transitions of XCLK. Clocking off data in NRZ mode is done with a duty cycle of 100%. CMI code data is shifted out with a duty cycle of 50%/100% according to the CMI coding. Output polarity is selected by LIM0.XDOS (active high after reset). Single rail mode is selected if LIM1.DRS = 1 and FMR0.XC1 = 0.
Data Sheet
39
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) I Function
64
SYPX
Synchronous Pulse Transmit Defines the beginning of time slot 0 at system highway port XDI together with the values of XC0.XCO, XC1.XTO and XC1.XCOS. Sampling is done with the falling edge of SCLKX. The pulse cycle is an integer multiple of 125 s. System Clock Transmit Working clock for the transmit system interface with a frequency of 8.192 MHz (SIC1.SXSC = 0, SIC1.SRSC = 0) or 2.048 MHz (E1)/1.544 MHz (T1/J1) (SIC1.SXSC = 1, SIC1.SRSC = 1). Transmit Data In Transmit data received from the system highway. Latching of data is done with the falling transitions of SCLKX. E1 data rate (SCLKX = 8.192 MHz): FMR1.IMOD = 0: 4096 kbit/s FMR1.IMOD = 1: 2048 kbit/s E1 data rate (SCLKX = 2.048MHz): FMR1.IMOD = 1 & SIC1.SXSC = 1: 2048kbit/s T1/J1data rate (SCLKX = 8.192 MHz): FMR1.IMOD = 0: 4096 kbit/s FMR1.IMOD = 1 & SIC1.SXSC = 0: 2048 kbit/s T1/J1data rate (SCLKX = 1.544 MHz): FMR1.IMOD = 1 & SIC1.SXSC = 1: 1544 kbit/s The delay between the beginning of time slot 0 and the initial edge of SCLKX (after SYPX goes active) is determined by the values of transmit time slot offset (XC1.XTO5-0), transmit clock slot offset (XC0.XCO2-0) and XC1.XCOS.
62
SCLKX
I
55
XDI
I
Data Sheet
40
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
69
DLX
Data Link Bit Transmit E1 mode: Marks the SA4...8 bits within the data stream on XDI. The SA4...8 bit positions in timeslot 0 of every frame not containing the frame alignment signal are selected by register XC0.SA4E-SA8E. T1/J1 mode: This output provides a signal which marks the DL-bit position within the data stream on XDI. In 4096 kbit/s mode DLX is active only during the channel phase selected by RCO.SICS.
80
XSIG
I
Transmit Signaling Data Input for transmit signaling data received from the signaling highway. This function is selected by setting LOOP.SPN = 1 LIM3.ESY = 1
Note: This pin contains multiple functions, see also SYNC2 and ROID.
Data Sheet
41
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 4 Pin No. Pin Definitions - System Interface (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
59
XSIGM
Transmit Signaling Marker Marks the transmit time slots which are defined by register TTR1-4 of every frame transmitted on port XDI. In 4096 kbit/s mode, XSIGM is active only during the channel phase which is selected by RC0.SICS. T1 mode/CAS-BR: If CAS-BR is selected by FMR1.SIGM = 1, the robbed bit of each channel every six frames is marked, if marker is enabled by setting XC0.BRM = 1.
61
XMFS
I
Transmit Multiframe Synchronization This port defines the first frame of the multiframe on the transmit system interface port XDI. Note: A new multiframe position has been settled at least one multiframe after pulse XMFS has been supplied. If this input is not used, it has to be connected to VSS. In this case multiframe start is generated internally.
Data Sheet
42
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions
*
Table 5 Pin No.
Pin Definitions - Miscellaneous Symbol Input (I) Output (O) Supply (S) S S S S S Function
Power Supply 1 5 16 14
VDDR VSSR VDDX VSSX
Positive Power Supply for the analog receiver Power Supply: Ground for the analog receiver Positive Power Supply for the analog transmitter Power Supply: Ground for the analog transmitter Power Supply: Ground for digital subcircuits (0 V) For correct operation, all three pins have to be connected to ground. Positive Power Supply for the digital subcircuits (5.0 V) For correct operation, all three pins have to be connected to positive power supply. Device Reset Reset A high signal on this pin forces the FALC(R)-LH into reset state. During Reset the FALC(R)-LH needs active clocks on pins SCLKR, SCLKX, XTAL1 and XTAL3 (E1: XTAL3 only, if slicer mode selectable by LIM1.JATT/RL = 10 will be used). During Reset - all unidirectional output stages are in highimpedance state, except pins CLK16M, CLK12M, CLK8M, CLKX, FSC, XCLK and RCLK (active clocks are required during reset on pins SCLKR, SCLKX, XTAL1 and XTAL31)) - all bidirectional output stages (data bus) are in input mode if signal RD is "high"
27, 37, 74 VSS
26, 36, 73 VDD
S
54
RES
I
Data Sheet
43
2000-07
PEB 2255 FALC-LH V1.3
Pin Descriptions Table 5 Pin No. Pin Definitions - Miscellaneous (cont'd) Symbol Input (I) Output (O) Supply (S) O Function
Analog Reference 3 REFR Reference Resistance of 12 k +/- 1% and a capacitor of 680 pF (including external parasitic capacitances). Both have to be connected to pin VSSR in parallel by short external connections. Test Data Input for Boundary Scan according to IEEE Std. 1149.1 If not connected an internal pull-up transistor ensures high input level. Test Mode Select for Boundary Scan If not connected an internal pull-up transistor ensures high input level. Test Clock for Boundary Scan If not connected an internal pull-up transistor ensures high input level. Test Data Output for Boundary Scan
Boundary Scan/Joint Test Access Group (JTAG)2) 18 TDI I + PU
19
TMS
I + PU
20
TCK
I + PU
21
1) 2)
TDO
O
XTAL3 not required in E1/bypass mode Boundary scan reset is done automatically upon power up. No pin TRS is provided.
Note: Unused input pins have to be connected to a defined voltage level (VDD or VSS).
Data Sheet
44
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
3
3.1
(R)
Functional Description E1/T1/J1
Functional Overview
The FALC -LH device contains analog and digital function blocks, which are configured and controlled by an external microprocessor or microcontroller. The main interfaces are * * * * Receive and Transmit Line Interface PCM System Highway Interface Microprocessor Interface Boundary Scan Interface
as well as several control lines for reset and clocking purpose. The main internal functional blocks are * * * * * * * * * * * * * * Analog line receiver with equalizer network and digital clock/data recovery Analog line driver with programmable pulse shaper Clock generation Elastic buffers for receive and transmit direction Receive framer Receive line decoding, alarm detection, and PRBS monitoring Transmit framer Transmit line coding, alarm and PRBS generation Receive jitter attenuator Transmit jitter attenuator HDLC controller Loop switching (local, remote, payload, single channel) Register access interface Boundary scan control
Data Sheet
45
2000-07
*
3.2
Figure 6
RCLK RFSP SCLKR
Decoder AMI Alignment Framer
Data Sheet
SYPR
Clock & Data Recovery B8ZS HDB3 Counters DL Extract SA4-8 Extract HDLC Signaling Controller DL/BOM SA4-8 Time Slot Assigner Payload Loop CAS-CC CAS-BR Backplane Interface PRBS Monitor Alarm Detector Performance Monitoring DPLL Receive Elastic Buffer
DR
Block Diagram
RL1 / RL2 RDIP / RDIN ROID / RCLKI
Analog LOS Detector
Equalizer + Filter
Peak Detector
DR
ROID
Block Diagram
JATT
Local Loop
X S
Encoder AMI B8ZS HDB3 PRBS Generator SA4-8 Insert DL Insert Generation Transmit Elastic Buffer
Framer
RSIGM XSIGM XDI SYPX RDO RMFB DLR / RSIG DLX XMFB XSIG XMFS
XL1 / XL2 XDOP / XDON XOID / ---
46
E1 RL (T1) RL (E1) 8 MHz
DCO-R PD Divider Osc.
Line Driver
Pulse Shaper + Transmit Attenuation
Backplane Interface
XCLK T1 or RL (T1) RL (E1) 2 MHz
Interrupt Control
2 / 1.5 MHz
DCO-X PD
8 / 6 MHz
Divider
Boundary Scan
Microprocessor Interface
SCLKX RCLK
Divider
SYNC2 RCLK
Osc.
F0046
Functional Description E1/T1/J1
PEB 2255 FALC-LH V1.3
A0 ... 6 Control INT SYNC
D0 ... 15
XTAL1 System 16.384 MHz Clocks
XTAL3 CLK12M 12.352 MHz (T1) 16.384 MHz (E1)
SCLKX
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
3.3 3.3.1
Functional Blocks Microprocessor Interface
The communication between the CPU and the FALC(R)-LH is done via a set of directly accessible registers. The interface may be configured as Intel or Motorola type with a selectable data bus width of 8 or 16 bits. The CPU transfers data to/from the FALC(R)-LH (via 64 byte deep FIFOs per direction), sets the operating modes, controls function sequences, and gets status information by writing or reading control/status registers. All accesses can be done as byte or word accesses if enabled. If 16-bit bus width is selected, access to lower/upper part of the data bus is determined by address line A0 and signal BHE/BLE as shown in Table 6 and Table 7. In Table 8 is shown how the ALE (address latch enable) line is used to control the bus structure and interface type. The switching of ALE allows the FALC(R)-LH to be directly connected to a multiplexed address/data bus.
3.3.1.1
Mixed Byte/Word Access to the FIFOs
Reading from or writing to the internal FIFOs (RFIFO and XFIFO) can be done using a 8-bit (byte) or 16-bit (word) access depending on the selected bus interface mode. Randomly mixed byte/word access to the FIFOs is allowed without any restrictions. If byte access is used, high byte or low byte can be used as well. Any value written to high or low byte is placed in the FIFO in sequential order.
Data Sheet
47
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
Table 6 BHE 0 0 1 1 Table 7 BLE 0 0 1 1 Table 8 ALE GND/VDD GND/VDD switching A0 0 1 0 1 A0 0 1 0 1
Data Bus Access (16-Bit Intel Mode) Register Access FIFO word access Register word access (even addresses) Register byte access (odd addresses) Register byte access (even addresses) No transfer performed Data Bus Access (16-Bit Motorola Mode) Register Access FIFO word access Register word access (even addresses) Register byte access (odd addresses) Register byte access (even addresses) No transfer performed FALC(R)-LH Data Pins Used D0...D15 D0...D7 D8...D15 None FALC(R)-LH Data Pins Used D0...D15 D8...D15 D0...D7 None
Selectable Bus and Microprocessor Interface Configuration IM 1 0 0 Microprocessor interface Motorola Intel Intel Bus Structure demultiplexed demultiplexed multiplexed
The assignment of registers with even/odd addresses to the data lines in case of 16-bit register access depends on the selected microprocessor interface mode: Intel Motorola (Address n + 1) (Address n) Data Lines D15 D8 D7 (Address n) (Address n + 1) D0
n: even address
Data Sheet 48 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
3.3.1.2
FIFO Structure
In transmit and receive direction of the signaling controller 64-byte deep FIFOs are provided for the intermediate storage of data between the system internal highway and the CPU interface. The FIFOs are divided into two halves of 32-bytes. Only one half is accessible to the CPU at any time. In case 16-bit data bus width is selected by fixing pin DBW to logical `1' word access to the FIFOs is enabled. Data output to bus lines D0-D15 as a function of the selected interface mode is shown in Figure 7 and Figure 8. Of course, byte access is also allowed. The effective length of the accessible part of RFIFO can be changed from 32 bytes (RESET value) down to 2 bytes by programming CCR1.RFT1...0.
RFIFO 32 32
XFIFO
1 32
1 32
4 3 2 1
Byte 4 Byte 3 Byte 2 Byte 1
4 3 2 1
Byte 4 Byte 3 Byte 2 Byte 1
D15
D8 D7
D0
D15
D8 D7
D0
ITD01798
Figure 7
FIFO Word Access (Intel Mode)
Data Sheet
49
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
RFIFO 32 32
XFIFO
1 32
1 32
4 3 2 1
Byte 4 Byte 3 Byte 2 Byte 1
4 3 2 1
Byte 4 Byte 3 Byte 2 Byte 1
D15
D8 D7
D0
D15
D8 D7
D0
ITD01799
Figure 8
FIFO Word Access (Motorola Mode)
3.3.1.3
Interrupt Interface
Special events in the FALC(R)-LH are indicated by means of a single interrupt output with programmable characteristics (open drain, push-pull; IPC register), which requests the CPU to read status information from the FALC(R)-LH, or to transfer data from/to FALC(R)LH. Since only one INT request output is provided, the cause of an interrupt must be determined by the CPU by reading the FALC's interrupt status registers (GIS, ISR0...3, ISR5) that means the interrupt at pin INT and the interrupt status bits are reset by reading the interrupt status registers. Register ISR0...3,5 are from type "Clear on Read". The structure of the interrupt status registers is shown in Figure 9.
Data Sheet
50
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
GIS ISR5 ISR3 ISR2 ISR1 ISR0 ISR5 IMR5 ISR3 IMR3 ISR2 IMR2 ISR0 IMR0 ISR1 IMR1
ITS09740
Figure 9
Interrupt Status Registers
Each interrupt indication of registers ISR0...3,5 can be selectively masked by setting the corresponding bit in the corresponding mask registers IMR0...3,5. If the interrupt status bits are masked they neither generate an interrupt at INT nor are they visible in ISR0 ... 3,5. GIS, the non-maskable Global Interrupt Status Register, serves as pointer to pending interrupts. After the FALC(R)-LH has requested an interrupt by activating its INT pin, the CPU should first read the Global Interrupt Status register GIS to identify the requesting interrupt source register. After reading the assigned interrupt status registers ISR0...ISR3 and ISR5, the pointer in register GIS is cleared or updated if another interrupt requires service. If all pending interrupts are acknowledged by reading (GIS is reset), pin INT goes inactive. Updating of interrupt status registers ISR0 ... 3,5 and GIS is only prohibited during read access. Masked Interrupts Visible in Status Registers * The Global Interrupt Status register (GIS) indicates those interrupt status registers with active interrupt indications (GIS.ISR0...3,5). * An additional mode can be selected via bit IPC.VIS. * In this mode, masked interrupt status bits neither generate an interrupt at pin INT nor are they visible in GIS, but are displayed in the respective interrupt status register(s) ISR0...3,5. This mode is useful when some interrupt status bits are to be polled in the individual interrupt status registers.
Data Sheet
51
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
Note: In the visible mode, all active interrupt status bits, whether the corresponding actual interrupt is masked or not, are reset when the interrupt status register is read. Thus, when polling of some interrupt status bits is desired, care must be taken that unmasked interrupts are not lost in the process. Note: All unmasked interrupt statuses are treated as before.
Please note that whenever polling is used, all interrupt status registers concerned have to be polled individually (no "hierarchical" polling possible), since GIS only contains information on actually generated - i.e. unmasked-interrupts.
3.3.2
Boundary Scan Interface
Identification Register: 32 bit Version: 4 H Part Number: 0042 H Manufacturer:083 H In FALC(R)-LH a Test Access Port (TAP) controller is implemented. The essential part of the TAP is a finite state machine (16 states) controlling the different operational modes of the boundary scan. Both, TAP controller and boundary scan, meet the requirements given by the JTAG standard: IEEE 1149.1. Figure 10 gives an overview.
Data Sheet
52
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1/T1/J1
Test Access Port TCK CLOCK Clock Generation CLOCK TMS Test Control TDI Data IN TDO -Finite State Machine -Instruction Register (3 bits) -Test Signal Generator BS Data IN TAP Controller Control Bus 6 ID Data OUT SS Data OUT Data OUT n Power ON Reset Pins 1 2
Enable
Boundary Scan (n Bits)
ITB09842
Reset
Figure 10
Block Diagram of Test Access Port and Boundary Scan
Test handling is performed via the pins TCK (Test Clock), TMS (Test Mode Select), TDI (Test Data Input) and TDO (Test Data Output). Test data at TDI are loaded with a 4-MHz clock signal connected to TCK. `1' or `0' on TMS causes a transition from one controller state to an other; constant '1' on TMS leads to normal operation of the chip. If no boundary scan testing is planned TMS and TDI do not need to be connected since pull-up transistors ensure high input levels in this case. After switching on the device (power-on), a reset signal is generated internally, which forces the TAP controller into test logic reset state.
Data Sheet
53
Identification Scan (32 Bits)
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4
4.1
Functional Description E1
Receive Path in E1 Mode
RL1/RDIP/ROID RL2/RDIN/RCLKI
Equalizer
Clock & Data Recovery DPLL
Line Decoder
RDATA
Analog LOS Detector
Alarm Detector
RCLK
PD DCO-R
SYNC
Osc.
CLK16M CLK8M CLKX FSC
XTAL1 16.384 MHz
F0057
Figure 11
Receive Clock System (E1)
Receive Line Interface For data input, three different data types are supported: * Ternary coded signals received at multifunction ports RL1 and RL2 from a -10 dB (short haul, LIM0.EQON = 0) or -43 dB (long haul, LIM0.EQON = 1) ternary interface. The ternary interface is selected if LIM1.DRS is reset. * Digital dual rail signals received on ports RDIP and RDIN. The dual rail interface is selected if LIM1.DRS and FMR0.RC1 is set. * Unipolar data on port ROID received from a fiber optical interface. The optical interface is selected if LIM1.DRS is set and FMR0.RC1 is reset. Alternatively the optical interface can be switched to pin 68 (XMFB/XOID) and pin 80 (ROID) by setting bit LOOP.SPN.
Data Sheet 54 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 Long Haul Interface The FALC(R)-LH has an integrated short-haul and long-haul line interface, consisting of a receive equalization network and noise filtering.
4.1.1
Receive Equalization Network (E1)
(R)
The FALC -LH automatically recovers the signals received on pins RL1/2 in a range of up to -43 dB. The maximum reachable length with a 22 AWG twisted-pair cable is 1500 m. After reset the FALC(R)-LH is in "Short Haul" mode, received signals are recovered up to -10 dB of cable attenuation. Switching in "Long Haul" mode is done by setting of register LIM0.EQON. The integrated receive equalization network recovers signals with up to -43 dB of cable attenuation. Noise filters eliminate the higher frequency part of the received signals. The incoming data is peak detected and sliced at 55% of the peak value to produce the digital data stream. The received data is then forwarded to the clock & data recovery unit. The current equalizer status is indicated by register RES (Receive Equalizer Status) in long haul mode.
4.1.2
Receive Line Attenuation Indication (E1)
Status register RES reports the current receive line attenuation in a range of 0 to -43 dB in 25 steps of approximately 1.7 dB each. The least significant 5 bits of this register indicate the cable attenuation in dB. These 5 bits are only valid in conjunction with the two most significant bits (RES.EV1/0 = 01).
4.1.3
Receive Clock and Data Recovery (E1)
The analog received signal on port RL1/2 is equalized and then peak-detected to produce a digital signal. The digital received signal on port RDIP/N is directly forwarded to the DPLL. The receive clock and data recovery extracts the route clock RCLK from the data stream received at the RL1/2, RDIP/RDIN or ROID lines and converts the data stream into a single rail, unipolar bit stream. The clock and data recovery works with the clock frequency supplied by XTAL1. Normally the clock that is output via pin RCLK is the recovered clock from the signal provided on RL1/2 or RDIP/N and has a duty cycle close to 50 %. The free run frequency is defined by XTAL1 divided by 8 in periods with no signal. The intrinsic jitter generated in the absence of any input jitter is not more than 0.035 UI. In digital bipolar line interface mode the clock and data recovery accepts only HDB3 or AMI coded signals with 50% duty cycle.
4.1.4
Receive Line Coding (E1)
The HDB3 line code or the AMI coding is provided for the data received from the ternary or the dual rail interface. In case of the optical interface a selection between the NRZ code and the CMI Code (1T2B) with HDB3 postprocessing is provided. If CMI code
Data Sheet 55 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 (1T2B) is selected the receive route clock is recovered from the data stream. The 1T2B decoder does not correct any errors. In case of NRZ coding data is latched with the falling edge of signal RCLKI. The HDB3 code is used along with double violation detection or extended code violation detection (selectable). In AMI code all code violations is detected. The detected errors increment the code violation counter (16 bits length). When using the optical interface with NRZ coding, the decoder is by-passed and no code violations are detected. The signal at the ternary interface is received at both ends of a transformer. The E1-operating modes 75 or 120 are selectable by switching resistors in parallel. This selection does not require changing transformers.
RL1 Line
t2
t1
R2
RL2
FALC
R
ITS10967
Figure 12 Table 9 Parameter
Receiver Configuration (E1) Recommended Receiver Configuration Values (E1) Characteristic Impedance [] 120 75 150 1: 2 240 1: 2
R2 ( 1 %) [] t2 : t1
Data Sheet
56
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.1.5
Loss of Signal Detection (E1)
There are different definitions for detecting Loss of Signal (LOS) alarms in the ITU-T G.775 and ETS 300233. The FALC(R)-LH covers all these standards. The LOS indication is performed by generating an interrupt (if not masked) and activating a status bit. Additionally a LOS status change interrupt is programmable via register IPC.SCI. * Detection: An alarm is generated if the incoming data stream has no pulses (no transitions) for a certain number (N) of consecutive pulse periods. "No pulse" in the digital receive interface means a logical zero on pins RDIP/RDIN/ROID. A pulse with an amplitude less than Q dB below nominal is the criteria for "no pulse" in the analog receive interface (LIM1.DRS=0). In short haul mode (LIM0.EQON=0) the receive signal level Q is programmable via three control bits LIM1.RIL2...0 in a range of about 1400 to 200 mV differential voltage between pins RL1/2. In long haul mode (LIM0.EQON=1) the analog LOS criteria is defined by the equalizer status. The number N can be set via an 8 bit register PCD. The contents of the PCD register is multiplied by 16, which results in the number of pulse periods or better, the time which has to suspend until the alarm has to be detected. The range therefore results from 16 to 4096 pulse periods. ETS300233 requires detection intervals of at least 1 ms. This time period results always in a LFA (Loss of Frame Alignment) before a LOS is detected. * Recovery: In general the recovery procedure starts after detecting a logical "one" (digital receive interface) or a pulse (analog receive interface) with an amplitude more than Q dB (defined by LIM1.RIL2...0, LIM0.EQON=0) of the nominal pulse. The value in the 8 bit register PCR defines the number of pulses (1 to 255) to clear the LOS alarm. Additional recovery conditions may be programmed by register LIM2.
Note: In long haul mode, LOS alarm is declared either if "no pulses" are detected for the period defined in PCD or the signal level drops below typically about -35 dB of the nominal signal ("low signal level"). Additionally, the incoming data stream is cleared, if this "low signal level" is detected in order to generate a fixed data stream before first bit errors occur. Typically, this loss of signal threshold is about -35 dB. For recovery this means, that at first the signal level has to increase and then the pulses are counted and compared to PCR to return from LOS indication. Please also note, that this behavior is slightly different to FALC-LH V1.1.
Data Sheet
57
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.1.6
Receive Jitter Attenuator (E1)
The receive jitter attenuator is placed in the receive path. The jitter attenuator meets the requirements of ITU-T I.431, G. 736-739, G.823 and ETSI TBR12/13. The internal DCO-R generates a "jitter free" output clock which is directly dependent on the phase difference of the incoming clock and the jitter attenuated clock.The receive jitter attenuator can be either synchronized with the extracted receive clock RCLK or to a 2.048-MHz clock provided on pin SYNC. The received data is written into the receive elastic buffer with RCLK and are read out with the dejittered clock CLK8M/CLKX sourced by DCO-R if it is connected to SCLKR. Optionally a 8 kHz clock is provided on pin XCLK/ FSC or FSC. The DCO-R circuitry attenuates the incoming jittered clock starting at 2 Hz jitter frequency with 20 dB per decade fall off. Wander with a jitter frequency below 2 Hz is passed unattenuated. The intrinsic jitter in the absence of any input jitter is < 0.02 UI. For some applications it might be useful starting of jitter attenuation at lower frequencies. Therefore the corner frequency is switchable by the factor of ten down to 0.2 Hz (LIM2.SCF). Jitter attenuation can be achieved either using an external tunable crystal on pins XTAL1/XTAL2 or using the crystal-less jitter attenuation selected by LIM2.DJA1/2. In this case, a stable clock or regular crystal of 16.384 MHz has to be provided on pin XTAL1 (+/- 50 ppm). In crystal-less mode the system clock output on pin CLK16M can be either the dejittered or the non-dejittered clock (LIM3.CSC). The DCO-R circuitry is automatically centered to the nominal bit rate if the reference clock on pin SYNC/RCLK is missed for two 2.048-MHz clock periods. In analog line interface mode the RCLK is always running. Only in digital line interface mode with single rail data a gapped clock at RCLKI may occur. In this case, DCO-R centers automatically. The receive jitter attenuator works in two different modes: * Slave mode In Slave mode (LIM0.MAS = 0) the DCO-R is synchronized with the recovered route clock. In case of LOS the DCO-R switches to Master mode automatically. * Master mode In Master mode (LIM0.MAS = 1) the jitter attenuator is in free running mode if no clock on pin SYNC is supplied. If a 2.048 MHz clock at the SYNC input is applied the DCOR synchronizes to this input. The following table shows the clock modes with the corresponding synchronization sources.
Data Sheet
58
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
*
Table 10 Mode Master Master Slave Slave Slave Slave
System Clocking (E1) Internal LOS Active SYNC Input System Clocks generated by DCO-R Free running, DCO-R centered Synchronized with SYNC input (external 2 MHz) Synchronized with Line RCLK Synchronized with Line RCLK Free running, DCO-R is centered Synchronized with SYNC input (external 2.048 MHz)
independent Fixed to VSS independent 2 MHz no no yes yes Fixed to VSS 2 MHz Fixed to VSS 2 MHz
The jitter attenuator meets the jitter transfer requirements of the recommendations I.431 and G.735-739 (refer to Figure 13).
10 dB 0 -10
ITD10312
ITU G.736 Template R FALC
Attenuation
-20 -30 -40 -50 -60
1
10
100
1000 Frequency
10000
Hz 100000
Figure 13
Jitter Attenuation Performance (E1)
Also the requirements of ETSI TBR12/13 are satisfied. Insuring adequate margin against TBR12/13 output jitter limit with 15 UI input at 20 Hz the DCO-R circuitry starts jitter attenuation at nearly 2 Hz.
Data Sheet 59 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.1.7
Jitter Tolerance (E1)
(R)
The FALC -LH receiver's tolerance to input jitter complies to ITU for CEPT application. Figure 14 shows the curves of different input jitter specifications stated below as well as the FALC(R)-LH performance.
1000
UI
PUB 62411 TR-NWT 000499 Cat II CCITT G.823 ITU-T I.431 FALC(R)
100
Jitter Amplitude
10
1
0.1 1 10 100 1000 10000 Hz 100000
F0025
Jitter Frequency
Figure 14
Jitter Tolerance (E1)
4.1.8
Output Jitter (E1)
In the absence of any input jitter the FALC(R)-LH generates the output jitter, which is specified in theTable 11 below. Table 11 Specification ITU-T I.431 Output Jitter (E1) Measurement Filter Bandwidth Lower Cutoff 20 Hz 700 Hz Upper Cutoff 100 kHz 100 kHz Output Jitter (UI peak to peak) < 0.02 < 0.02
Data Sheet
60
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.1.9
Transmit Jitter Attenuator (E1)
The transmit jitter attenuator DCO-X circuitry generates a "jitter free" transmit clock and meets the following requirements: ITU-T I.431, G. 703, G. 736-739, G.823 and ETSI TBR12/13. The DCO-X circuitry works internally with the same high frequency clock as the receive jitter attenuator it does. It synchronizes either to the working clock of the transmit backplane interface or the clock provided by pin SYNC2 or the receive clock RCLK (remote loop/loop-timed). The DCO-X attenuates the incoming clock jitter starting at 6 Hz with 20 dB per decade fall off. With the jitter attenuated clock, which is directly dependent on the phase difference of the incoming clock and the jitter attenuated clock, data is read from the transmit elastic buffer or from the JATT buffer (remote loop with JATT). Wander with a jitter frequency below 6 Hz is passed transparently. The DCO-X accepts gapped clocks which are used in ATM or SDH/SONET applications. The jitter attenuated transmit clock is output by pin XCLK. In the loop-timed clock configuration (LIM2.ELT) the DCO-X circuitry generates a transmit clock which is frequency synchronized with RCLK. In this configuration the transmit elastic buffer has to be enabled. DCO-X can optionally be used with XTAL1 clock reference (selected by LIM1.TCD1 = 1). The dejittered transmit clock can be output on pin CLK16M. In this case the clocks CLKX, CLK8 and FSC are not synchronized with RCLK/SYNC.
Data Sheet
61
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
D
A Pulse Shaper
Framer
Elastic Store
XDI
XCLK
8 MHz
DCO-X
2 MHz
PD Osc.
SCLKX SYNC2 LIM1.TCD 1 RCLK
XTAL3 16.384 MHz
XTAL1 16.384 MHz
F0047
Figure 15
Transmit Clock System (E1)
Note: DR = Dual Rail Interface DCO-R Digital Controlled Oscillator Receive DCO-X Digital Controlled Oscillator Transmit
4.1.10
Framer/Synchronizer
The following functions are performed: * Synchronization on pulse frame and multiframe * Error indication when synchronization is lost. In this case, AIS is automatically sent to the system side and Remote Alarm to the remote end if en/disabled. * Initiating and controlling of resynchronization after reaching the asynchronous state. This can be done automatically by the FALC(R)-LH, or user controlled via the microprocessor interface. * Detection of remote alarm indication from the incoming data stream. * Separation of service bits and data link bits. This information is stored in status registers. * Generation of various maskable interrupt statuses of the receiver functions.
Data Sheet
62
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 * Generation of control signals to synchronize the CRC checker and the receive elastic buffer. If programmed and applicable to the selected multiframe format, CRC checking of the incoming data stream is done by generating check bits for a CRC submultiframe according to the CRC 4 procedure (refer to ITU-T G704). These bits are compared with those check bits that are received during the next CRC submultiframe. If there is at least one mismatch, the CRC error counter (16 bit) is incremented.
4.1.11
Receive Elastic Buffer (E1)
The received bit stream is stored in the receive elastic buffer. The memory is organized as a two-frame elastic buffer with a maximum size of 64 x 8 bit. The size of the elastic buffer can be configured independently for the receive and transmit direction. Programming of the receive buffer size is done by SIC1.RBS1/0 : * RBS1/0 = 00 : two frame buffer or 512 bits Maximum of wander amplitude (peak-to-peak): 190 UI (1 UI = 488 ns ) average delay after performing a slip: about 1 frame * RBS1/0 = 01 : one frame buffer or 256 bits Max. wander amplitude: 94 UI average delay after performing a slip: 128 bits, (SYPR = output) * RBS1/0 = 10 : short buffer or 92 bits : Max. wander amplitude: 18 s average delay after performing a slip: 46 bits, (SYPR = output) * RBS1/0 = 11 : Bypass of the receive elastic buffer, (SYPR = output) The functions are: * Clock adaption between system clock (SCLKR) and internally generated route clock (RCLK). * Compensation of input wander and jitter. * Frame alignment between system frame and receive route frame * Reporting and controlling of slips Controlled by special signals generated by the receiver, the unipolar bit stream is converted into bit-parallel data which is circularly written to the elastic buffer using internally generated Receive Route Clock (RCLK). Reading of stored data is controlled by the System Clock sourced by SCLKR and the Synchronous Pulse (SYPR) in conjunction with the programmed offset values for the receive time slot/clock slot counters. After conversion into a serial data stream, the data
Data Sheet
63
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 is given out via port RDO. If the receive buffer is bypassed, data is clocked off with RCLK instead of SCLKR. In one frame or short buffer mode the delay through the receive buffer is reduced to an average delay of 128 or 46 bits. Slips are performed in all buffer modes except the bypass mode. After a slip is detected the read pointer is adjusted to one half of the current buffer size. The following table gives an overview of the receive buffer operating mode.
Note: Combinations of SIC1.RBS1...0 and LOOP.SFM other than described are not allowed. The use of LOOP.SFM = 1 is not recommended, but possible for FALC (R)54 compatibility.
*.
Table 12
Receive Buffer Operating Modes (E1) Buffer Size bypass1) TS Offset programing (RC1...0) Slip performance
SIC1.RBS1...0 11 LOOP.SFM = 0 10 LOOP.SFM = 0 01 LOOP.SFM = 0 00 LOOP.SFM = 1
RFM (SYPR = output) must no slips be selected; value of RC1...0 determines the position of RFM RFM (SYPR = output) must yes be selected; value of RC1...0 determines the position of RFM RFM (SYPR = output) must yes be selected; value of RC1...0 determines the position of RFM SYPR is input and determines the frame position together with RC1...0 offset. Slip conditions are detected and reported, but no slip is performed. Slips have to be initiated by software (reprogramming of RC1...0). yes Slips are performed on the frame boundary
short buffer
1 frame
1 frame
00 LOOP.SFM = 0
1)
2 frames
SYPR is input and determines the frame position together with RC1...0 offset.
In bypass mode the clock provided on pin SCLKR is ignored. Clocking is done with RCLK.
Data Sheet
64
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 In single frame mode ( SIC1. RBS), values of receive time slot offset (RC1/0) have to be specified great enough to prevent too great approach of frame begin (line side) and frame begin (system side). Figure 16 gives an idea of operation of the receive elastic buffer: A slip condition is detected when the write pointer (W) and the read pointer (R) of the memory are nearly coincident, i.e. the read pointer is within the slip limits (S +, S -). If a slip condition is detected, a negative slip (one frame or one half of the current buffer size is skipped) or a positive slip (one frame or one half of the current buffer size is read out twice) is performed at the system interface, depending on the difference between RCLK and the current working clock of the receive backplane interface. i.e. on the position of pointer R and W within the memory. A positive/negative slip is indicated in the interrupt status bits ISR3.RSP and ISR3.RSN.
*
Frame 2 Time Slots
R' R Slip SW S+
Frame 1 Time Slots Moment of Slip Detection W : Write Pointer (Route Clock controlled) R : Read Pointer (System Clock controlled) S+, S- : Limits for Slip Detection (mode dependent)
ITD10952
Figure 16
The Receive Elastic Buffer as Circularly Organized Memory
Data Sheet
65
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.1.12
Receive Signaling Controller (E1)
The signaling controller can be programmed to operate in various signaling modes. The FALC(R)-LH performs the following signaling and data link methods:
4.1.12.1 HDLC or LAPD access
In case of common channel signaling the signaling procedure HDLC/SDLC or LAPD according to Q.921 is supported. The signaling controller of the FALC(R)-LH performs the FLAG detection, CRC checking, address comparison and zero bit-removing. The received data flow and the address recognition features can be performed in very flexible way, to satisfy almost any practical requirements. Depending on the selected address mode, the FALC(R)-LH performs a 1 or 2 byte address recognition. If a 2-byte address field is selected, the high address byte is compared with the fixed value FEH or FCH (group address) as well as with two individually programmable values in RAH1 and RAH2 registers. According to the ISDN LAPD protocol, bit 1 of the high byte address is interpreted as command/response bit (C/R) and is excluded from the address comparison. Buffering of receive data is done in a 64 byte deep RFIFO. In signaling controller transparent mode, fully transparent data reception without HDLC framing is performed, i.e. without FLAG recognition, CRC checking or bit-stuffing. This allows user specific protocol variations. The FALC(R)-LH offers the flexibility to extract data during certain time slots. Any combination of time slots may be programmed independently for the receive and transmit direction.
4.1.12.2 Sa bit Access (E1)
The FALC(R)-LH supports the Sa bit signaling of time slot 0 of every other frame as follows: * the access via register RSW * the access via registers RSA4-8, capable of storing the information for a complete multiframe * the access via the 64 byte deep receive FIFO of the signaling controller. This Sa bit access gives the opportunity to receive a transparent bit stream as well as HDLC frames where the signaling controller automatically processes the HDLC protocol. Any combination of Sa bits which should be extracted and stored in the RFIFO may be selected by XC0.SA8E-SA4E. The access to the RFIFO is supported by ISR0.RME/RPF.
4.1.12.3 Channel Associated Signaling CAS (E1, serial mode)
The signaling information is carried in time slot 16 (TS16). The signaling controller samples the bit stream on the receive system side (selected by setting LOOP.SPN=1, LIM3.ESY=1).
Data Sheet
66
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 The complete CAS multiframe can be transmitted on pin RSIG. The signaling data is clocked with the working clock of the receive highway in conjunction with the receive synchronization pulse (SYPR/RFM). Data on RSIG is transmitted in the last 4 bits per time slot and are aligned to the data on RDO. The first 4 bits per time slot can be optionally fixed high or low, except for time slot 0 and 16. In time slot 0 the FAS/NFAS word is transmitted, in time slot 16 the CAS multiframe pattern. Data on RSIG is valid only if the freeze signaling status is inactive. In case of freeze status, old data are repeated. With FMR1.SAIS = 1 an all-ones data stream may be transmitted on RDO and RSIG. The signaling procedure is done as it is described in ITU-T G.704 and G.732. The main functions are: * Synchronization to a CAS multiframe * Detection of AIS and remote alarm in CAS multiframes * Separation of CAS service bits Updating of the receive signaling information is controlled by the freeze signaling status. The freeze signaling status is output on pin RFSP/FREEZS and is generated, if: * Bit FRS1.TSL16LFA = 1 or * FRS0.LOS=1 or * a receive slip occurred The receive signaling buffer is updated if the alarm remains inactive for at least one complete CAS multiframe. Setting of bit SIC2.FFS forces the freeze status active. The current freeze status could be read in register SIS.SFS. Optionally automatic freeze signaling may be disabled by setting bit SIC3.DAF. The CAS controller acts on the PCM highway side of the receive buffer. Therefore slips disturb CAS data.
Data Sheet
67
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
*
125 s SYPR SCLKR T TS31 RDO RSIG ABCD T FAS NFAS ABCD TS0 TS1 0123456701234567 FAS / NFAS ABCD
~~
~
~~~~
TS31 01234567 ABCD
= Time-Slot Offset (Register RC1/0) = Frame Alignment Signal = TS0 not containing the FAS word = Signaling Bits for Time-Slot 1-30 of CAS Multiframe
ITT10517
Figure 17
2.048 MHz Receive Signaling Highway (E1)
4.1.12.4 Channel Associated Signaling CAS (E1, P access mode)
The signaling information is carried in time slot 16 (TS16). Receive data is stored in registers RS1-16 aligned to the CAS multiframe boundary. The signaling controller samples the bit stream on the receive line side. The signaling procedure is done as it is described in ITU-T G.704 and G.732. The main functions are: * * * * Synchronization to a CAS multiframe Detection of AIS and remote alarm in CAS multiframes Separation of CAS service bits Storing of received data in registers RS1...16 with last look capability
Updating of the receive signaling information is controlled by the freeze signaling status. If signaling information is frozen updating of the registers RS1...16 is disabled. The freeze signaling status is output on pin RFSP/FREEZS and is generated, if: * Bit FRS1.TSL16LFA = 1 The receive signaling buffer is updated if the alarm remains inactive for at least one complete CAS multiframe. To relieve the P load from always reading the complete RS1-16 buffer every 2 ms the FALC(R)-LH notifies the P via interrupt ISR0.CASC only when signaling changes from one multiframe to the next. The CAS controller acts on the PCM highway side of the receive buffer. Therefore slips disturb CAS data.
Data Sheet 68 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.2
System Interface in E1 Mode
(R)
The FALC -LH offers a flexible feature for system designers where for transmit and receive direction different system clocks and system pulses are necessary. The interface to the receive system highway is realized by two data buses, one for the data RDO and one for the signaling data RSIG. The receive highway is clocked via pin SCLKR/RCLK, while the interface to the transmit system highway is independently clocked via pin SCLKX. Selectable system clock and data rates and their valid combinations are shown in the table below. Table 13 2.048 Mbit/s 4.096 Mbit/s
1)
System Clock and Data Rates (E1) Clock Rate 2.048 MHz x
1)
System Data Rate
Clock Rate 8.192 MHz x x
--
x = valid; -- = invalid
Generally the data or marker on the system interface are clocked off or latched on the falling edge of the SCLKR/X clock. 8.192-MHz clocking rate allows transmitting of time slots in different channel phases. The active channel phase is selected by RC0.SICS, during the inactive channel phase the output signal is tristated. The signals on pin SYPR in conjunction with the assigned timeslot offset in register RC0 and RC1 define the beginning of a frame on the receive system highway. The signal on pin SYPX in conjunction with the assigned timeslot offset in register XC0 and XC1 define the beginning of a frame on the transmit system highway. Adjusting the frame begin (time slot 0, bit 0) relative to SYPR/X can be programmed in clock steps in the range of 0...125 sec. A receive frame marker RFM can be activated during any bit position of the entire frame. Programming is done with registers RC1/0. The pin function RFM is selected by SIC2.SRFS0. The receive frame marker is active high for one 2.048 MHz cycle (2.048 Mbit/s PCM highway interface mode) or two 8.192 MHz cycles (4.096 Mbit/s PCM highway interface mode) and is clocked off with the falling edge of the clock which is in/ output on port SCLKR.
Data Sheet
69
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
SYNC Receive Clock
Receive Jitter Attenuator
System Clocks
SCLKR RSIGM RMFB Receive Elastic Buffer Receive Backplane DLR/RSIG RFM SYPR Receive Data Transmit Data
BY P PLB BY P
BY P
RDO XDI SCLKX
XSIGM Transmit Elastic Buffer XMFB Transmit Backplane DLX XMFS SYPX XSIG
Transmit Clock
Transmit Jitter Attenuator
SYNC2 RCLK
F0050
Figure 18
System Interface (E1)
Data Sheet
70
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
*
Multi Frame 1 RDO FRAME 1 FRAME 2 FRAME 3
Multi Frame 2
FRAME 15 FRAME 16 FRAME 1 FRAME 2
~~ ~~
~~ ~~
FRAME 15
RMFB
~~ ~~
SYPR
SYPR
Trigger Edge 1)
Sample Edge
SCLKR
8.192 MHz
T SCLKR
2.048 MHz
Programmable via RC0/1
TS0 RDO/RSIG
2 Mbit/s Data Rate
Bit 255
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
~ ~
Bit 7 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
RDO/RSIG
4 Mbit/s Data Rate (SCLKR = 8.192 MHz)
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 255
RDO/RSIG
4 Mbit/s Data Rate (SCLKR = 8.192 MHz)
DLR
Sa-Bit Marker XC0 . SA8E-SA4E
marks any Sa Bit 4 Mbit Interface 2 Mbit Interface 4 Mbit Interface marks any bit position 2 Mbit Interface marks any Time-Slot
ITD10951
RFM
Receive Frame Marker RC0/1
RSIGM
Time-Slot Marker RTR1...4
1)
only falling trigger edge shown, depending on Bit SIC3.RESR
Figure 19
Receive System Interface Clocking (E1)
Data Sheet
71
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.2.1
Time Slot Assigner (E1)
(R)
The FALC -LH offers the flexibility to connect data during certain time slots, as defined by registers RTR1-4 and TTR1-4, to the RFIFO and XFIFO, respectively. Any combinations of time slots can be programmed for the receive and transmit directions. If CCR1.EITS = 1 the selected time slots (RTR1-4) are stored in the RFIFO of the signaling controller and the XFIFO contents are inserted into the transmit path as controlled by registers TTR1-4. Table 14 Receive Time Slot Register RTR 1.7 RTR 1.6 RTR 1.5 RTR 1.4 RTR 1.3 RTR 1.2 RTR 1.1 RTR 1.0 RTR 2.7 RTR 2.6 RTR 2.5 RTR 2.4 RTR 2.3 RTR 2.2 RTR 2.1 RTR 2.0 Time Slot Assigner (E1) Transmit Time Slot Register TTR 1.7 TTR 1.6 TTR 1.5 TTR 1.4 TTR 1.3 TTR 1.2 TTR 1.1 TTR 1.0 TTR 2.7 TTR 2.6 TTR 2.5 TTR 2.4 TTR 2.3 TTR 2.2 TTR 2.1 TTR 2.0 Time Slots Receive Time Slot Register RTR 3.7 RTR 3.6 RTR 3.5 RTR 3.4 RTR 3.3 RTR 3.2 RTR 3.1 RTR 3.0 RTR 4.7 RTR 4.6 RTR 4.5 RTR 4.4 RTR 4.3 RTR 4.2 RTR 4.1 RTR 4.0 Transmit Time Slot Register TTR 3.7 TTR 3.6 TTR 3.5 TTR 3.4 TTR 3.3 TTR 3.2 TTR 3.1 TTR 3.0 TTR 4.7 TTR 4.6 TTR 4.5 TTR 4.4 TTR 4.3 TTR 4.2 TTR 4.1 TTR 4.0 Time Slots
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Data Sheet
72
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.3
Transmit Path in E1 Mode
Compared to the receive path the inverse functions are performed for the transmit direction. The interface to the transmit system highway is realized by two data buses, one for the data XDI and one for the signaling data XSIG. The time slot assignment is equivalent to the receive direction. Latching of data is controlled by the System Clock (SCLKX) and the Synchronous Pulse (SYPX/XMFS) in conjunction with the programmed offset values for the Transmit Time slot/Clock slot Counters XC1/0. Refer also to Table 13 on page 69. The received bit stream on ports XDI and XSIG can be multiplexed internally on a time slot basis, if enabled by SIC3.TTRF = 1, if not serial CAS mode is selected (see Chapter 4.1.12.3 on page 66). The data received on port XSIG can be sampled if the transmit signaling marker XSIGM is active high. Data on port XDI is sampled if XSIGM is low for the respective time slot. Programming the XSIGM marker is done with registers TTR1-4.
Data Sheet
73
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
Multi Frame 1
Multi Frame 2
XDI
FRAME0
FRAME1
FRAME2
FRAME15
FRAME0
FRAME1
FRAME2
XMFB XMFS
SYPX
Bit 0 Sample Edge Trigger Edge SYPX T 1) SCLKX
XSIGM
XDI/XSIG
Bit 1
Bit 2
Bit 3
Bit 4
TS0
Bit 5
Bit 6
Bit 7
Bit 8
DLX
Sa-Bit Marker XC0.SA8E-SA4E
Bit 4 marked
1)
delay T is programmable by XC0/1;
F0031
Figure 20
Transmit System Interface Clocking: 2.048 MHz (E1)
Data Sheet
74
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
Multi Frame 1
Multi Frame 2
XDI
FRAME0
FRAME1
FRAME2
FRAME15
FRAME0
FRAME1
FRAME2
XMFB XMFS
SYPX
Bit 0 Sample Edge Trigger Edge SYPX T SCLKX
1)
XSIGM
Time-Slot Marker TTR1...4 RC0.SICS = 0
XDI/XSIG
RC0.SICS = 0
1
2
3
4
5
6
7
8
XDI/XSIG
RC0.SICS = 1
1
2
3
4
5
6
7
8
DLX
Sa-Bit Marker XC0.SA8E-SA4E RC0.SICS = 0
Bit 4 marked
DLX
Sa-Bit Marker XC0.SA8E-SA4E RC0.SICS = 0
Bit 4 marked
1)
delay T is programmable by XC0/1;
F0029
Figure 21
Transmit System Interface Clocking: 8.192 MHz/4.096 Mbit/s (E1)
Data Sheet
75
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.3.1
Transmit Signaling Controller (E1)
Similar to the receive signaling controller the same signaling methods and the same time slot assignment is provided. The FALC(R)-LH performs the following signaling and data link methods:
4.3.1.1
HDLC or LAPD access
The transmit signaling controller of the FALC(R)-LH performs the FLAG generation, CRC generation, zero bit-stuffing and programmable IDLE code generation. Buffering of transmit data is done in the 64 byte deep XFIFO. The signaling information is internally multiplexed with the data applied to port XDI or XSIG. In signaling controller transparent mode, fully transparent data transmission without HDLC framing is performed. Optionally the FALC(R)-LH supports the continuous transmission of the XFIFO contents. The FALC(R)-LH offers the flexibility to insert data during certain time slots. Any combinations of time slots may be programmed separately for the receive and transmit directions.
4.3.1.2
Sa bit Access (E1)
(R)
The FALC -LH supports the Sa bit signaling of time slot 0 of every second frame as follows: - the access via register XSW - the access via registers XSA4E...XSA8E, capable of storing the information for a complete multiframe - the access via the 64 byte deep XFIFO of the signaling controller. This Sa bit access gives the opportunity to send a transparent bit stream as well as HDLC frames where the signaling controller automatically processes the HDLC protocol. Any combination of Sa bits which shall be inserted into the outgoing data stream may be selected by XC0.SA4E...SA8E.
4.3.1.3
Channel Associated Signaling CAS (E1, serial access mode)
In external signaling mode the signaling data is received on port XSIG. The signaling data is sampled with the working clock of the transmit system interface (SCLKX) in conjunction with the transmit synchronization pulse (SYPX). Data on XSIG is latched in the bit positions 5...8 per time slot, bits 1...4 are ignored. Time slot 0 and 16 are sampled completely (bit 1...8). The received CAS multiframe is inserted frame aligned into the data stream on XDI. Data sourced by the internal signaling controller overwrites the external signaling data. CAS data is read from XSIG during the last frame of a multiframe, if CRC4/multiframe mode is selected. The CAS-multiframe is aligned to the CRC4-multiframe. Other frames are ignored.
Data Sheet
76
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 If the FALC(R)-LH is optioned for no signaling, the data stream from the system interface passes the FALC(R)-LH undisturbedly.
*
125 s SYPX SCLKX T TS31 XDI XSIG ABCD T FAS NFAS ABCD TS0 TS1 0123456701234567 FAS / NFAS ABCD
~~
~
~~~~
TS31 01234567 ABCD
= Time-Slot Offset (Register XC1/0) = Frame Alignment Signal = TS0 not containing the FAS word = Signaling Bits for Time-Slot 1-30 of CAS Multiframe
ITT10518
Figure 22
2.048 MHz Transmit Signaling Highway (E1)
4.3.1.4
Channel Associated Signaling CAS (E1, P access mode)
Transmit data stored in registers XS1-16 is transmitted in time slot 16 aligned to the multiframe boundary. The signaling controller inserts the bit stream either on the transmit line side or if external signaling is enabled on the transmit system side via pin function XSIG. Data sourced by the internal signaling controller overwrites the external signaling data. If the FALC(R)-LH is optioned for no signaling, the data stream from the system interface passes the FALC(R)-LH undisturbedly.
4.3.2
Transmit Elastic Buffer (E1)
The received bit stream from pin XDI is optionally stored in the transmit elastic buffer. The memory is organized as the receive elastic buffer. The functions are also equal to the receive side. Programming of the transmit buffer size is done by SIC1.XBS1/0 : * XBS1/0 = 00 : Bypass of the transmit elastic buffer * XBS1/0 = 01 : one frame buffer or 256 bits Max. wander amplitude (peak-to-peak): 94 UI (1 UI = 488 ns ) average delay after performing a slip: 128 bits * XBS1/0 = 10 : two frame buffer or 512 bits Maximum of wander amplitude: 190 UI average delay after performing a slip: 1 frame or 256 bits
Data Sheet 77 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 * XBS1/0 = 11 : short buffer or 92 bits : Max. wander amplitude: 18 s average delay after performing a slip: 46 bits The functions of the transmit buffer are: * Clock adaption between system clock (SCLKX) and internally generated transmit clock (XCLK). * Compensation of input wander and jitter. * Frame alignment between system frame and transmit line frame * Reporting and controlling of slips Writing of received data from XDI is controlled by SCLKX and SYPX/XMFS in conjunction with the programmed offset values for the transmit time slot/clock slot counters. Reading of stored data is controlled by the clock generated by DCO-X circuitry and the transmit framer. With the dejittered clock data is read from the transmit elastic buffer and are forwarded to the transmitter. Reporting and controlling of slips is done according to the receive direction. Positive/negative slips are reported in interrupt status bits ISR5.XSP and ISR5.XSN. If the transmit buffer is bypassed data is directly transferred to the transmitter. The following table gives an overview of the transmit buffer operating modes. Table 15 Transmit Buffer Operating Modes (E1) Buffer Size bypass short buffer 1 frame 2 frames TS Offset programming enabled enabled enabled enabled Slip performance no yes yes yes If XSW.XTM = 1, slip is performed on the frame boundary SIC1.XBS1...0 00 11 01 10
4.3.3
Transmitter (E1)
The serial bit stream is then processed by the transmitter which has the following functions: * * * * * * * Frame/multiframe synthesis of one of the two selectable framing formats Insertion of service and data link information AIS generation (Alarm indication signal) Remote alarm generation CRC generation and insertion of CRC bits CRC bits inversion in case of a previously received CRC error IDLE code generation per DS0
78 2000-07
Data Sheet
PEB 2255 FALC-LH V1.3
Functional Description E1 * Auxiliary pattern generation The frame/multiframe boundaries of the transmitter may be externally synchronized by using the SYPX/XMFS pin. Any change of the transmit time slot assignment subsequently produces a change of the framing bit positions on the line side. This feature is required if signaling- and service- bits are routed through the switching network and are inserted in transmit direction via the system interface. In loop-timed configuration (LIM2.ELT) disconnecting the control of the transmit system highway from the transmitter is done by setting XSW.XTM. The transmitter is now in a free running mode without any possibility to update the multiframe position in case of changing the transmit time slot assignment. The framing bits are generated independent of the transmit system interface. For proper operation the transmit elastic buffer size should be programmed to 2 frames. The contents of selectable time slots can be overwritten by the pattern defined via register IDLE. The selection of "idle channels" is done by programming the four-byte registers ICB1 ... ICB4.
4.3.4
Transmit Line Interface (E1)
The analog transmitter transforms the unipolar bit stream to ternary (alternate bipolar) return to zero signals of the appropriate programmable shape. The unipolar data is provided by the digital transmitter.
R1
XL1 Line
t1
t2 R1
XL2
FALC R
ITS10968
Figure 23
*
Transmitter Configuration (E1) Example Transmitter Configuration Values (E1)
1)
Table 16 Parameter
Characteristic Impedance [] 120 75 18 2 1: 2 18 1:
R1 ( 1 %) []
t2 : t1
1)
includes all parasitics
Data Sheet
79
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 Similar to the receive line interface three different data types are supported: * Ternary Signal Single rail data is converted into a ternary signal which is output on pins XL1 and XL2. The HDB3 and AMI line code is employed. Selected by FMR0.XC1/0 and LIM1.DRS = 0. * Dual rail data PCM(+), PCM(-) at multifunction ports XDOP/XDON with 50 % or 100 % duty cycle and with programmable polarity. Line coding is done in the same way as in the ternary interface. Selected by FMR0.XC1/0 and LIM1.DRS = 1. * Unipolar data on port XOID is transmitted either in NRZ (Non Return to Zero) with 100 % duty cycle or in CMI (Code Mark Inversion or known as 1T2B) Code with or without (FMR3.CMI) preprocessed HDB3 coding to a fibre optical interface. Clocking off data is done with the rising edge of the transmit clock XCLK (2048 kHz) and with a programmable polarity. Selection is done by FMR0.XC1 = 0 and LIM1.DRS = 1.
4.3.5
Programmable Pulse Shaper (E1)
The analog transmitter includes a programmable pulse shaper to satisfy the requirements of ITU-T I.431. The amplitude and shape of the transmit pulses are completely programmable via registers XPM0...2 from the microprocessor interface. The transmitter requires an external step up transformer to drive the line.
4.3.6
Transmit Line Monitor (E1)
The transmit line monitor compares the transmit line pulses on XL1 and XL2 with the transmit input signals received on pins XL1M and XL2M. The monitor detects faults on the primary side of the transformer and protects the device from damage by setting the transmit lines into high impedance state automatically. Faults on the secondary side can not be detected. To detect shorts, the configuration shown in Figure 24 must be provided and the default (reset) value of registers XPM0...2 must be selected. Otherwise a short detection can not be guaranteed. Two conditions are detected by the monitor: "Transmit Line Ones Density" (more than 31 consecutive zeroes) and "Transmit Line Shorted". In both cases a transmit line monitor status change interrupt is provided.
Data Sheet
80
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
FALC R -LH XL2M XL1M XPM2.DAXLT/XLT Line Monitor TRI XL1 XL2 Pulse Shaper
XDATA
ITS09746
Figure 24
Transmit Line Monitor Configuration (E1)
Data Sheet
81
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.4 4.4.1
Framer Operating Modes (E1) General
: : : : : 2.048 Mbit/s 256 bit, No. 1 ... 256 8 kHz nx64 kbit/s, n = 1...32 or nx4 kbit/s, n=1...5 32 time slots, No. 0 ... 31 with 8 bits each, No. 1 ... 8
Bit: FMR1.PMOD = 0 PCM line bit rate Single frame length Framing frequency HDLC controller Organization
The operating mode of the FALC(R)-LH is selected by programming the carrier data rate and characteristics, line code, multiframe structure, and signaling scheme. The FALC(R)-LH implements all of the standard framing structures for E1 or PCM 30 (CEPT, 2.048 Mbit/s) carriers. The internal HDLC- or CAS Controller supports all signaling procedures including signaling frame synchronization/synthesis and signaling alarm detection in all framing formats. The time slot assignment from the PCM line to the system highway and vice versa. is performed without any changes of numbering (TS0 TS0, ... , TS31 TS31). Summary of E1- Framing Modes * * * * * * Doubleframe format according to ITU-T G. 704 Multiframe format according to ITU-T G. 704 CRC4 processing according to ITU-T G. 706 Multiframe format with CRC4 to non CRC4 interworking according to ITU-T G. 706 Multiframe format with modified CRC4 to non CRC4 interworking Multiframe format with CRC4 performance monitoring
After RESET, the FALC(R)-LH is switched into doubleframe format automatically. Switching between the framing formats is done via bit FMR2.RFS1/0 and FMR3.EXTIW for the receiver and FMR1.XFS for the transmitter.
Data Sheet
82
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.4.2
Table 17 Alternate Frames
Doubleframe Format (E1)
Allocation of Bits 1 to 8 of Time Slot 0 (E1) Bit Number 1 2 3 4 5 6 7 8
The framing structure is defined by the contents of time slot 0 (refer to Table 17).)
Frame Containing the Frame Alignment Signal
Si
Note 1
0
0
1
1
0
1
1
Frame Alignment Signal
Frame not Containing the Frame Alignment Signal Si or Note 1 Service Word
1
Note 2
A
Note 3
Sa4
Note 4
Sa5
Sa6
Sa7
Sa8
Note: 1. Si bits: reserved for international use. If not used, these bits should be fixed to `1'. Access to received information via bits RSW.RSI and RSP.RSIF. Transmission is enabled via bits XSW.XSIS and XSP.XSIF. 2. Fixed to `1'. Used for synchronization. 3. Remote alarm indication: In undisturbed operation `0'; in alarm condition `1'. 4. Sa bits: Reserved for national use. If not used, they should be fixed at `1'. Access to received information via bits RSW.RY0 ... RY4. Transmission is enabled via bits XSW.XY0 ... XY4. HDLC-signaling in bits Sa4- Sa8 is selectable. (*) Note: (*) As a special extension for double frame format, the S a-bit registers RSA4-8XSA4-8 may be used optionally.
4.4.2.1
Transmit Transparent Modes
In transmit direction, contents of time slot 0 frame alignment signal of the outgoing PCM frame are normally generated by the FALC(R)-LH. However, transparency for the complete time slot 0 can be achieved by selecting the transparent mode XSP.TT0. With the Transparent Service Word Mask register TSWM the Si-bits, A-bit and the SA4-8 bits can be selectively switched through transparently. XSW.XTM = 0 must be selected.
Data Sheet
83
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
*
Table 18 Enabled by
Transmit Transparent Mode (Doubleframe E1) Transmit Transparent Source for Framing
(int. generated) via pin XDI1) (int. generated) (int. generated) (int. generated) (int. generated)
A Bit
XSW.XRA via pin XDI XSW.XRA XSW.XRA via pin XDI XSW.XRA
2)
Sa Bits
XSW.XY0 ... 4 via pin XDI XSW.XY0 ... 4 XSW.XY0 ... 4 XSW.XY0 ... 4 via pin XDI
3)
Si Bits
XSW.XSIS,XSP.XSIF via pin XDI via pin XDI via pin XDI XSW.XSIS,XSP.XSIF XSW.XSIS,XSP.XSIF
- XSP.TT0 TSWM.TSIF TSWM.TSIS TSWM.TRA TSWM.TSA4-8
1) 2) 3)
pin XDI or XSIG or XFIFO-Buffer (signaling controller) Additionally, automatic transmission of the A-bit is selectable As a special extension for double frame format, the Sa-bit register may be used optionally.
*
Service Word
XSW
XSA8 ... 4
XDI XSIG
Framing
XL1/2
SIC3.TTRF TTR1...4
TSWM bits
FMR1.ENSA
TT0
F0059
Figure 25
Data Flow in Transparent Mode
4.4.2.2
Synchronization Procedure
Synchronization status is reported via bit FRS0.LFA. Framing errors are counted by the Framing Error Counter (FEC). Asynchronous state is reached after detecting 3 or 4 consecutive incorrect FAS words or 3 or 4 consecutive incorrect service words (bit 2 = 0 in time slot 0 of every other frame not containing the frame alignment word), the selection is done via bit RC1.ASY4. Additionally, the service word condition can be disabled. When the framer lost its synchronization an interrupt status bit ISR2.LFA is generated. In asynchronous state, counting of framing errors and detection of remote alarm is stopped. AIS is automatically sent to the backplane interface (can be disabled via bit FMR2.DAIS). Further on the updating of the registers RSA6S and RS1-16 is halted (remote alarm indication, Sa/Si-Bit access).
Data Sheet 84 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 The resynchronization procedure starts automatically after reaching the asynchronous state. Additionally, it may be invoked user controlled via bit: FMR0.FRS (Force Resynchronization: the FAS word detection is interrupted until the framer is in the asynchronous state. After that, resynchronization starts automatically). Synchronous state is established after detecting: * a correct FAS word in frame n, * the presence of the correct service word (bit 2 = 1) in frame n + 1, * a correct FAS word in frame n + 2. If the service word in frame n + 1 or the FAS word in frame n + 2 or both are not found searching for the next FAS word starts in frame n + 2 just after the previous frame alignment signal. Reaching the synchronous state causes a frame alignment recovery interrupt status ISR2.FAR if enabled. Undisturbed operation starts with the beginning of the next doubleframe.
4.4.2.3
A-Bit Access
If the FALC(R)-LH detects a remote alarm indication in the received data stream the interrupt status bit ISR2.RA is set. With setting of bit XSW.XRA a remote alarm (RAI) is send to the far end. By setting FMR2.AXRA the FALC(R)-LH automatically transmit the remote alarm bit = 1 in the outgoing data stream if the receiver detects a loss of frame alignment FRS0.LFA = 1. If the receiver is in synchronous state FRS0.LFA = 0 the remote alarm bit is reset.
Note: The A-bit may be processed via the system interface. Setting bit TSWM.TRA enables transparency for the A bit in transmit direction (refer to Table Table 18).
4.4.2.4
Sa - Bit Access
As an extension for access to the Sa-bits via registers RSA4-8/XSA4-8 an option is implemented to allow the usage of internal Sa-bit registers RSA4-8/XSA4-8 in doubleframe format. This function is enabled by setting FMR1.ENSA = 1 for the transmitter and FMR1.RFS1/ 0 = 01 for the receiver. The FALC(R)-LH works then internally with a 16-frame structure but no CRC multiframe alignment/generation is performed.
Data Sheet
85
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.4.3
CRC-Multiframe (E1)
The multiframe structure shown in Table 19 Table is enabled by setting bit: FMR2.RFS1/0 for the receiver and FMR1.XFS for the transmitter. Multiframe Frame alignment Multiframe alignment CRC bits CRC block size CRC procedure Table 19 : : : : : : 2 submultiframes = 2 x 8 frames refer to section Doubleframe Format bit 1 of frames 1, 3, 5, 7, 9, 11 with the pattern `001011' bit 1 of frames 0, 2, 4, 6, 8, 10, 12, 14 2048 bit (length of a submultiframe) CRC4, according to ITU-T G.704, G.706) Frame Number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Bits 1 to 8 of the Frame 1 C1 0 C2 0 C3 1 C4 0 C1 1 C2 1 C3 E* C4 E* 2 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 3 0 A 0 A 0 A 0 A 0 A 0 A 0 A 0 A 4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 6 0 Sa61 0 Sa62 0 Sa63 0 Sa64 0 Sa61 0 Sa62 0 Sa63 0 Sa64 7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8
CRC-Multiframe Structure (E1) SubMultiframe
Multiframe I
II
E:
Spare bits for international use. Access to received information via bits RSP.RS13 and RSP.RS15. Transmission is enabled via bits XSP.XS13 and XSP.XS15. Additionally, automatic transmission for submultiframe error indication is selectable. Spare bits for national use. Additionally, Sa bit access via registers RSA4 ... 8 and XSA4 ... 8 is provided. HDLC-signaling in bits Sa4- Sa8 is selectable. Cyclic redundancy check bits. Remote alarm indication. Additionally, automatic transmission of the A-bit is selectable.
86 2000-07
S a:
C 1 ... C 4: A:
Data Sheet
PEB 2255 FALC-LH V1.3
Functional Description E1 For transmit direction, contents of time slot 0 are additionally determined by the selected transparent mode (see also Figure 25): Table 20 enabled by
- XSP.TT0 TSWM.TSIF TSWM.TSIS TSWM.TRA TSWM.TSA4-8
1) 2) 3) 4)
Transmit Transparent Mode (CRC Multiframe E1) Transmit Transparent Source for Framing + CRC
(int. generated) via pin XDI1) via pin XDI via pin XDI (int. generated) (int. generated)
A Bit
XSW.XRA2) via pin XDI XSW.XRA1) XSW.XRA1) via pin XDI XSW.XRA1)
Sa Bits
XSW.XY0 ... via pin XDI XSW.XY0 ... XSW.XY0 ... XSW.XY0 ... via pin XDI 43) 42) 42) 42)
E Bits
XSP.XS13/XS154) via pin XDI (int. generated) via pin XDI XSP.XS13/XS153) XSP.XS13/XS153)
pin XDI or XSIG or XFIFO buffer (signaling controller) Automatic transmission of the A-bit is selectable The Sa-bit register XSA4-8 may be used optionally Additionally, automatic transmission of submultiframe error indication is selectable
The CRC procedure is automatically invoked when the multiframe structure is enabled. CRC errors in the received data stream are counted by the 16 bit CRC Error Counter CEC (one error per submultiframe, maximum). Additionally a CRC4 error interrupt status ISR0.CRC4 may be generated if enabled by IMR0.CRC4. All CRC bits of one outgoing submultiframe are automatically inverted in case a CRC error is flagged for the previous received submultiframe. This function is enabled via bit RC0.CRCI. Setting the bit RC0.XCRCI inverts the CRC bits before transmission to the distant end. The function of RC0.XCRCI and RC0.CRCI are logically ored.
4.4.3.1
Synchronization Procedure
Multiframe alignment is assumed to have been lost if doubleframe alignment has been lost (flagged on status bit FRS0.LFA). The rising edge of this bits causes an interrupt. The multiframe resynchronization procedure starts when doubleframe alignment has been regained which is indicated by an interrupt status bit ISR2.FAR. For doubleframe synchronization refer to section doubleframe format. It may also be invoked by the user by setting * bit FMR0.FRS for complete doubleframe and multiframe re-synchronization * bit FMR1.MFCS for multiframe re-synchronization only. The CRC checking mechanism is enabled after the first correct multiframe pattern has been found. However, CRC errors are not counted in asynchronous state.
Data Sheet
87
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 In doubleframe asynchronous state, counting of framing errors, CRC4 bit errors and detection of remote alarm is stopped. AIS is automatically sent to the backplane interface (can be disabled via bit FMR2.DAIS). Further on the updating of the registers RSA6S and RS1-16 is halted (remote alarm indication, Sa/Si-bit access). The multiframe synchronous state is established after detecting two correct multiframe alignment signals at an interval of n x 2 ms (n = 1, 2, 3 ...). The Loss of multiframe alignment flag FRS0.LMFA is reset. Additionally an interrupt status multiframe alignment recovery bit ISR2.MFAR is generated with the falling edge of bit FRS0.LMFA.
4.4.3.2
Automatic Force Resynchronization (E1)
In addition, a search for Doubleframe alignment is automatically initiated if two multiframe pattern with a distance of n x 2 ms have not been found within a time interval of 8 ms after doubleframe alignment has been regained (bit FMR1.AFR). A new search for frame alignment is started just after the previous frame alignment signal.
4.4.3.3
Floating Multiframe Alignment Window (E1)
After reaching doubleframe synchronization a 8 ms timer is started. If a multiframe alignment signal is found during the 8 ms time interval the internal timer is reset to remaining 6 ms in order to find the next multiframe signal within this time. If the multiframe signal is not found for a second time an interrupt status ISR0.T8MS is provided. This interrupt usually occurs every 8 ms until multiframe synchronization is achieved.
4.4.3.4
CRC4 Performance Monitoring (E1)
In the synchronous state checking of multiframe pattern is disabled. However, with bit FMR2.ALMF an automatic multiframe resynchronization mode can be activated. If 915 out of 1000 errored CRC submultiframes are found then a false frame alignment is assumed and a search for double- and multiframe pattern is initiated. The new search for frame alignment is started just after the previous basic frame alignment signal.
4.4.3.5
Modified CRC4 Multiframe Alignment Algorithm (E1)
The modified CRC4 multiframe alignment algorithm allows an automatic interworking between framers with and without a CRC4 capability. The interworking is realized as it is described in ITU-T G.706 Appendix B and shown in Figure 4.5 on page 93. If doubleframe synchronization is consistently present but CRC4 multiframe alignment is not achieved within 400 ms it is assumed that the distant end is initialized to doubleframe format. The CRC4 to non-CRC4 interworking is enabled via FMR2.RFS1/0 = 11 and is activated only if the receiver has lost its synchronization. If doubleframe alignment (basic frame alignment) is established a 400 ms timer and searching for multiframe alignment is started. A research for basic frame alignment is initiated if the CRC4 multiframe
Data Sheet 88 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 synchronization could not be achieved within 8 ms and is started just after the previous frame alignment signal. The research of the basic frame alignment is done in parallel and is independent of the synchronization procedure of the primary basic frame alignment signal. During the parallel search all receiver functions are based on the primary frame alignment signal, like framing errors, Sa-, Si-, A-bits ...). All subsequent multiframe searches are associated with each basic framing sequence found during the parallel search. If the CRC4 multiframe alignment sequence was not found within the time interval of 400 ms, the receiver is switched into a non-CRC4 mode indicated by setting the bit FRS0.NMF (No Multiframing Found) and ISR2.T400MS. In this mode checking of CRC bits is disabled and the received E-bits are forced to low. The transmitter framing format is not changed. Even if multiple basic FAS resynchronizations have been established during the parallel search, the receiver is maintained to the initially determined primary frame alignment signal location. However, if the CRC4 multiframe alignment could be achieved within the 400 ms time interval assuming a CRC4 to CRC4 interworking, then the basic frame alignment sequence associated to the CRC4 multiframe alignment signal is chosen. If necessary, the primary frame alignment signal location is adjusted according to the multiframe alignment signal. The CRC4 performance monitoring is started if enabled by FMR2.ALMF and the received E-bits are processed in accordance with ITU-T G.704. Switching into the doubleframe format (non CRC4) mode after 400 ms can be disabled by setting of FMR3.EXTIW. In this mode the FALC(R)-LH continues search for multiframing. In the interworking mode setting of bit FMR1.AFR is not allowed.
4.4.3.6
A-Bit Access (E1)
If the FALC(R)-LH detects a remote alarm indication (bit 2 in TS0 not containing the FAS word) in the received data stream the interrupt status bit ISR2.RA is set. With the deactivation of the remote alarm the interrupt status bit ISR2.RAR is generated. By setting FMR2.AXRA the FALC(R)-LH automatically transmits the remote alarm bit = 1 in the outgoing data stream if the receiver detects a loss of frame alignment (FRS0.LFA = 1). If the receiver is in synchronous state (FRS0.LFA = 0) the remote alarm bit is reset in the outgoing data stream. Additionally, if bit FMR3.EXTIW is set and the multiframe synchronous state could not be achieved within the 400 ms after finding the primary basic framing, the A-bit is transmitted active high to the remote end until the multiframing is found.
Note: The A-bit may be processed via the system interface. Setting bit TSWM.TRA enables transparency for the A bit in transmit direction (refer to Table 20).
Data Sheet
89
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.4.3.7
Sa - Bit Access (E1)
Due to signaling procedures using the five Sa bits (Sa4 ... Sa8) of every other frame of the CRC multiframe structure, three possibilities of access via the microprocessor are implemented. * The standard procedure allows reading/writing the Sa-bit registers RSW, XSW without further support. The Sa-bit information is updated every other frame. * The advanced procedure, enabled via bit FMR1.ENSA, allows reading/writing the Sabit registers RSA4 ... 8, XSA4 ... 8. A transmit or receive multiframe begin interrupt (ISR0.RMB or ISR1.XMB) is provided. Registers RSA4-8 contains the service word information of the previously received CRCmultiframe or 8 doubleframes (bit slots 4-8 of every service word). These registers are updated with every multiframe begin interrupt ISR0.RMB. With the transmit multiframe begin an interrupt ISR1.XMB is generated and the contents of this registers XSA4-8 are copied into shadow registers. The contents is subsequently sent out in the service words of the next outgoing CRC multiframe (or every doubleframes) if none of the time slot 0 transparent modes is enabled. The transmit multiframe begin interrupt XMB request that these registers should be serviced. If requests for new information is ignored, current contents is repeated. * The extended access via the receive and transmit FIFOs of the signaling controller. In this mode it is possible to transmit/receive a HDLC frame or a transparent bit stream in any combination of the Sa bits. Enabling is done by setting of bit CCR1.EITS and the corresponding bits XC0.SA8E-4E/TSWM.TSA8-4 and resetting of registers TTR14, RTR1-4 and FMR1.ENSA. The access to and from the FIFOs is supported by ISR0.RME,RPF and ISR1.XPR,ALS. SA6-Bit Detection according to ETS 300233 Four consecutive received SA6-bits are checked on the by ETS 300233 defined SA6-bit combinations. The FALC(R)-LH detects following fixed SA6-bit combinations: SA61, SA62, SA63,SA64 = 1000; 1010; 1100; 1110; 1111. All other possible 4-bit combinations are grouped to status "X". A valid SA6-bit combination must occur three times in a row. The corresponding status bit in register RSA6S is set. Register RSA6S is from type "Clear on Read". With any change of state of the SA6-bit combinations an interrupt status ISR0.SA6SC is generated. During the basic frame asynchronous state updating of register RSA6S and interrupt status ISR0.SA6SC is disabled. In multiframe format the detection of the SA6-bit combinations can be done either synchronous or asynchronous to the submultiframe (FMR3.SA6SY). In synchronous detection mode updating of register RSA6S is done in the multiframe synchronous state (FRS0.LMFA=0). In asynchronous detection mode updating is independent to the multiframe synchronous state.
Data Sheet 90 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 Sa6 Bit Error Indication Counters The Sa6 bit error indication counter CRC2L/H (16 bits) counts the received Sa6 bit sequence 0001 or 0011 in every CRC submultiframe. In the primary rate access digital section this counter option gives information about CRC errors reported from the TE via Sa6 bit. Incrementing is only possible in the multiframe synchronous state. The Sa6 bit error indication counter CRC3L/H (16 bits) counts the received Sa6 bit sequence 0010 or 0011 in every CRC submultiframe. In the primary rate access digital section this counter option gives information about CRC errors detected at T-reference point and reporting them via the Sa6 bit. Incrementing is only possible in the multiframe synchronous state.
4.4.3.8
E-Bit Access (E1)
Due to signaling requirements, the E bits of frame 13 and frame 15 of the CRC multiframe can be used to indicate received errored submultiframes: Submultiframe I status E- Bit located in frame 13 Submultiframe II status E- Bit located in frame 15 no CRC error: CRC error: : : E=1 E=0
Standard Procedure After reading the Submultiframe Error Indication RSP.SI1 and RSP.SI2, the microprocessor has to update contents of register XSP (XS13, XS15). Access to these registers has to be synchronized with Transmit or Receive Multiframe Begin Interrupts (ISR0.RMB or ISR1.XMB). Automatic Mode In the multiframe synchronous state the E-bits are processed according to ITU-T G.704 independently of bit XSP.EBP (E-bit polarity selection). By setting bit XSP.AXS status information of received submultiframes is automatically inserted in the E-bit position of the outgoing CRC multiframe without any further interventions of the microprocessor. In the doubleframe and multiframe asynchronous state the E-bits are set or cleared, depending on the setting of bit XSP.EBP. Submultiframe Error Indication Counter The EBC (E-Bit) Counter EBCL and EBCH (16 bits) counts zeros in E-bit position of frame 13 and 15 of every received CRC Multiframe. This counter option gives information about the outgoing transmit PCM line if the E bits are used by the remote end
Data Sheet
91
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 for submultiframe error indication. Incrementing is only possible in the multiframe synchronous state.
Note: E-bits may be processed via the system interface. Setting bit TSWM.TSIS enables transparency for E bits in transmit direction (refer to Table 20).
OUT of Primary BFA: Inhibit Incoming CRC-4 Performance Monitoring Reset all Timers Set FRS0.LFA/LMFA/NMF = 110
No
Primary BFA Search ? Yes
IN Primary BFA: Start 400 ms Timer Enable Primary BFA Loss Checking Process Reset Internal Frame Alignment Status (FRS0.LFA = 0)
CRC-4 MFA Search Start 8 ms Timer No
Yes Parallel BFA Search Good ? No
Yes
Can CRC-4 MFA be found in 8 ms ?
No
400 ms Timer Elapsed ? Yes
Assume CRC-4 to CRC-4 Interworking: Confirm Primary BFA Associated with CRC-4 MFA Adjust Primary BFA if Necessary Reset Internal Multiframe Alignment Status (FRS0.LMFA = 0)
Assume CRC-4 to non CRC-4 Interworking: Confirm Primary BFA Set Internal 400 ms Timer Expiration Status Bit (FRS0.NMF = 1)
Start CRC-4 Performance Monitoring
Yes
CRC-4 _ Error Count < 915 or LFA ?
No
Continue CRC-4 Performance Monitoring
ITD10310
Figure 26
Data Sheet
CRC4 Multiframe Alignment Recovery Algorithms
92 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.5 4.5.1
Additional Functions (E1) Error Performance Monitoring and Alarm Handling
Alarm Indication Signal: Detection and recovery is flagged by bit FRS0.AIS and ISR2.AIS. Transmission is enabled via bit FMR1.XAIS. Loss of Signal: Detection and recovery is flagged by bit FRS0.LOS and ISR2.LOS. Remote Alarm Indication: Detection and release is flagged by bit FRS0.RRA, RSW.RRA and ISR2.RA/RAR. Transmission is enabled via bit XSW.XRA. AIS in time slot 16: Detection and release is flagged by bit FRS1.TS16AIS and ISR3.AIS16. Transmission is enabled by writing all ones in registers XS1-16. LOS in time slot 16: Detection and release is flagged by bit FRS1.TS16LOS. Transmission is enabled by writing all zeros in registers XS1-16. Remote Alarm in time slot 16: Detection and release is flagged by bit FRS1.TS16RA and ISR3.RA16. Transmission is enabled via bit CCR1.XTS16RA or XS1.2. Transmit Line Shorted: Detection and release is flagged by bit FRS1.XLS and ISR1.XLSC. Transmit Ones Density: Detection and release is flagged by bit FRS1.XLO and ISR1.XLSC.
*
Table 21 Alarm Loss of Signal (LOS)
Summary of Alarm Detection and Release (E1) Detection Condition no transitions (logical zeros) in a programmable time interval of 16...4096 consecutive pulse periods. Programmable receive input signal threshold FMR0.ALM = 0: less than 3 zeros in 250 s and loss of frame alignment declared FMR0.ALM = 1: less than 3 zeros in each of two consecutive 250 s periods Clear Condition programmable number of ones (1-256) in a programmable time interval of 16...4096 consecutive pulse periods. A one is a signal with a level above the programmed threshold. FMR0.ALM = 0: more than 2 zeros in 250 s FMR0.ALM = 1: more than 2 zeros in each of two consecutive 500 s periods
Alarm Indication Signal (AIS)
Remote Alarm (RRA)
bit 3 = 1 in time slot 0 not containing the FAS word
set conditions no longer detected.
Data Sheet
93
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 Table 21 Alarm Summary of Alarm Detection and Release (E1) (cont'd) Detection Condition Clear Condition Y-bit = 0 received in CAS multiframe alignment word
Y-bit = 1 received in CAS Remote Alarm in time slot 16 (TS16RA) multiframe alignment word Loss of Signal in time slot 16 (TS16LOS) Alarm Indication Signal in time slot 16 (TS16AIS) Transmit Line Short (XLS)
receiving a one in all zeros for at least 16 consecutively received time time slot 16 slots 16 time slot 16 containing less than 4 zeros in each of two consecutive CAS multiframes periods If XL1 and XL2 are shortened for at least 32 pulses; pins XL1 and XL2 are forced into a high impedance state automatically, if bit XPM2.DAXLT is reset. time slot 16 containing more than 3 zeros in each of two consecutive CAS multiframes periods After 32 consecutive pulse periods the outputs XL1/2 are activated again and the internal transmit current limiter is checked. If a short between XL1/ 2 is still existing, the outputs XL1/ 2 are switched into high impedance state again. When the short disappears pins XL1/2 are activated automatically.
Transmit Ones Density 32 consecutive zeros in the Cleared with each transmitted pulse (XLO) transmit data stream on XL1/2
4.5.2
Auto Modes
* Automatic remote alarm access If the receiver has lost its synchronization a remote alarm can be sent automatically, if enabled by bit FMR2.AXRA to the distant end. The remote alarm bit is set automatically in the outgoing data stream if the receiver is in asynchronous state (FRS0.LFA bit is set). In synchronous state the remote alarm bit is removed. * Automatic E bit access By setting bit XSP.AXS status information of received submultiframes is automatically inserted in E-bit position of the outgoing CRC Multiframe without any further interventions of the microprocessor. * Automatic AIS to system interface In asynchronous state the synchronizer enforces automatically an AIS to the receive system interface. However, received data can be transparently switched through if bit FMR2.DAIS is set.
Data Sheet
94
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 * Automatic clock source switching In Slave mode (LIM0.MAS = 0) the DCO-R synchronizes to the recovered route clock. In case of Loss of Signal LOS the DCO-R switches automatically to Master mode. * Automatic freeze signaling: Updating of the received signaling information is controlled by the freeze signaling status. Optionally automatic freeze signaling can be disabled by setting bit SIC3.DAF.
4.5.3
Error Counter
The FALC(R)-LH offers six error counters each of them has a length of 16 bit. They record code violations, framing bit errors, E-bit errors, CRC4 bit errors and CRC4 error events which are flagged in the different SA6 bit combinations. Each of the error counter is buffered. Updating the buffer is done in two modes: * one second accumulation * on demand via handshake with writing to the DEC register In the one second mode an internal one second timer updates these buffers and reset the counter to accumulate the error events in the next one second period. The error counter can not overflow. Error events occurring during reset are not lost.
4.5.4
Errored Second
(R)
The FALC -LH supports the error performance monitoring by detecting the following alarms or error events in the received data: framing errors, CRC errors, code violations, loss of frame alignment, loss of signal, alarm indication signal, E bit error, receive and transmit slips. With a programmable interrupt mask register IMR4 all these alarms or error events can generate an Errored Second Interrupt (ISR3.ES) if enabled.
4.5.5
Second Timer
Additionally a one second timer interrupt is generated internally to indicate that the enabled alarm status bits or the error counters have to be checked. The clock is derived from signal RCLK.
4.5.6
In-Band Loop Generation and Detection
(R)
The FALC -LH generates and detects a framed or unframed in-band loop up/activate and down/deactivate pattern with bit error rates up to1/100. Framed or unframed in-band loop code is selected by LCR1.FLLB. Replacing transmit data with the in-band loop codes is done by FMR3.XLD/XLU. The FALC(R)-LH also offers the ability to generate and detect a flexible in-band loop up and down pattern (if LCR1.LLBP = 1) or a default pattern 00001 for up and 001 for down (if LCR1.LLBP = 0).
Data Sheet
95
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1 The user defined loop up and loop down pattern is programmable individually from 2 to 8 bit in length (LCR1.LAC1/0 and LCR1.LDC1/0). Programming of loop codes is done in registers LCR2 and LCR3. Status and interrupt status bits inform the user whether a loop up or loop down code was detected.
4.5.7
Time Slot 0 Transparent Mode
The transparent modes are useful for loopbacks or for routing data unchanged through the FALC(R)-LH. In receive direction, transparency for ternary or dual/single rail unipolar data is always achieved if the receiver is in the synchronous state. In asynchronous state the data may be transparently switched through if bit FMR2.DAIS is set. However, correct time slot assignment can not be guaranteed due to missing frame alignment between line and system side. Setting of bit FMR2.RTM disconnects control of the internal elastic store from the receiver. The elastic buffer is now in a "free running" mode without any possibility to update the time slot assignment to a new frame position in case of re-synchronization of the receiver. Together with FMR2.DAIS this function can be used to realize undisturbed transparent reception. Transparency in transmit direction can be achieved by activating the time slot 0 transparent mode (bit XSP.TT0 or TSWM.7-0). If XSP.TT0 = 1 all internal information of the FALC(R)-LH (framing, CRC, Sa/Si bit signaling, remote alarm) is ignored. With register TSWM the Si-bits, A-bit or the Sa4-8 bits can be selectively enabled to send data transparent from port XDI to the far end. For complete transparency the internal signaling controller, IDLE code generation and AIS alarm generation, single channel and payload loop back has to be disabled.
Data Sheet
96
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.6 4.6.1
Test Functions (E1) Pseudo-Random Bit Sequence Generation and Monitor
(R)
The FALC -LH has the ability to generate and monitor 2 15-1 and 220-1 pseudo-random bit sequences (PRBS). The generated PRBS pattern is transmitted optionally inverted or not to the remote end via pins XL1/2 or XDOP/N. Generating and monitoring of PRBS pattern is done according to ITU-T O. 151. The PRBS monitor senses the PRBS pattern in the incoming data stream. Synchronization is done on the inverted and non inverted PRBS pattern. The current synchronization status is reported in status and interrupt status registers. Enabled by bit LCR1.EPRM each PRBS bit error increments an error counter (CEC2). Synchronization is reached within 400 ms with a probability of 99.9% and a bit error rate of 1/10. If an 'all 0' or 'all 1' signal is detected, synchronous state is indicated, too.
4.6.2
Remote Loop
In the remote loopback mode the clock and data recovered from the line inputs RL1/2 or RDIP/RDIN are routed back to the line outputs XL1/2 or XDOP/XDON via the analog or digital transmitter. As in normal mode they are also processed by the synchronizer and then sent to the system interface.The remote loopback mode is selected by setting the respective control bits LIM1.RL+JATT. Received data may be looped with or without the transmit jitter attenuator (FIFO = JATT).
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
RDO
FIFO
XL1 XL2
MUX
Trans. Framer
Elast. Store
XDI
MUX XCLK
RCLK DCO1/2
ITS09750
Figure 27
Data Sheet
Remote Loop (E1)
97 2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.6.3
Payload Loop Back
To perform an effective circuit test a payload loop is implemented. The payload loop back (FMR2.PLB) loops the data stream from the receiver section back to transmitter section. The looped data passes the complete receiver including the wander and jitter compensation in the receive elastic store and were output on pin RDO. Instead of the data an AIS (FMR2.SAIS) can be sent to the system interface. The framing bits, CRC4 and Spare bits are not looped, if XSP.TT0 =0. They are originated by the FALC(R)-LH transmitter. If the PLB is enabled the transmitter and the data on pins XL1/2 or XDOP/XDON are clocked with SCLKR/RCLK instead of SCLKX. If XSP.TT0 = 1 the received time slot 0 is sent transparently back to the line interface. Data on the following pins are ignored: XDI, XSIG, SCLKX, SYPX and XMFS. All the received data is processed normally.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
AIS-GEN MUX RDO
SCLKR XL1 XL2 Trans. Framer Elast. Store XDI SCLKX
ITS09748
Figure 28
Payload Loop (E1)
Note: Returned data is not multiframe synchronous.
Data Sheet
98
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.6.4
Local Loop
The local loopback mode, selected by LIM0.LL = 1, disconnects the receive lines RL1/2 or RDIP/RDIN from the receiver. Instead of the signals coming from the line the data provided by system interface are routed through the analog receiver back to the system interface. However, the bit stream is transmitted undisturbedly on the line. However an AIS to the distant end can be enabled by setting FMR1.XAIS without influencing the data looped back to the system interface. Note that enabling the local loop usually invokes an out of frame error until the receiver can resynchronize with the new framing. The serial codes for transmitter and receiver have to be identical. In digital interface NRZ mode, a clock must be provided on pin RCLKI (=RL2) to enable switching into local loop mode.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
RDO
XL1 XL2
MUX AIS-GEN
Trans. Framer
Elast. Store
XDI
ITS09749
Figure 29
Local Loop (E1)
Data Sheet
99
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.6.5
Single Channel Loop Back
Each of the 32 time slots may be selected for loopback from the system PCM input (XDI) to the system PCM output (RDO). This loopback is programmed for one time slot at a time selected by register LOOP. During loopback, an idle channel code programmed in register IDLE is transmitted to the remote end in the corresponding PCM route time slot. For the time slot test, sending sequences of test patterns like a 1 kHz check signal should be avoided. Otherwise, an increased occurrence of slips in the tested time slot disturbs testing. These slips do not influence the other time slots and the function of the receive memory. The usage of a quasi-static test pattern is recommended.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer MUX Elast. Store
RDO
XL1 XL2
Trans. Framer
MUX
Elast. Store IDLE Code
XDI
ITS09747
Figure 30
Single Channel Loopback (E1)
Data Sheet
100
2000-07
PEB 2255 FALC-LH V1.3
Functional Description E1
4.6.6
Alarm Simulation (E1)
Alarm simulation does not affect the normal operation of the device, i.e. all time slots remain available for transmission. However, possible `real' alarm conditions are not reported to the processor when the device is in the alarm simulation mode. The alarm simulation is initiated by setting the bit FMR0.SIM. The following alarms are simulated: * * * * * * * * * * * Loss of Signal Alarm Indication Signal (AIS) Loss of pulse frame Remote alarm indication Receive and transmit slip indication Framing error counter Code violation counter (HDB3 Code) CRC4 error counter E-Bit error counter CEC2 counter CEC3 counter
Some of the above indications are only simulated if the FALC(R)-LH is configured in a mode where the alarm is applicable (e.g. no CRC4 error simulation when doubleframe format is enabled). Setting of the bit FMR0.SIM initiates alarm simulation, interrupt status bits is set. Error counting and indication occurs while this bit is set. After it is reset all simulated error conditions disappear, but the generated interrupt statuses are still pending until the corresponding interrupt status register is read. Alarms like AIS and LOS are cleared automatically. Interrupt status register and error counters are automatically cleared on read.
Data Sheet
101
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5
5.1
Functional Description T1/J1
Receive Path in T1/J1 Mode
Clock & Data Recovery DPLL
RL1 / RDIP / ROID RL2 / RDIN / RCLKI
Equalizer
Line Decoder
RDATA
RCLK Analog LOS Detector
Alarm Detector
PD DCO-R Osc.
Rate Converter
CLK16M C LK8M C L KX FSC
XTAL1 16.384 MHz
F0048
Figure 31
Receive Clock System (T1/J1)
Receive Line Interface (T1/J1) For data input, three different data types are supported: * Ternary coded signals received at multifunction ports RL1 and RL2 from a -10 dB (short haul, LIM0.EQON = 0) or -36 dB (long haul, LIM0.EQON = 1) ternary interface. The ternary interface is selected if LIM1.DRS is reset. * Digital dual rail signals received on ports RDIP and RDIN. The dual rail interface is selected if LIM1.DRS and FMR0.RC1 is set. * Unipolar data on port ROID received from a fiber optical interface. The optical interface is selected if LIM1.DRS is set and FMR0.RC1...0 = 00. Alternatively the optical interface can be switched to pin 68 (XMFB/XOID) and pin 80 (ROID) by setting bit LOOP.SPN.
Data Sheet
102
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Receive Short and Long Haul Interface (T1/J1) The FALC(R)-LH has now an integrated short-haul and long-haul line interface, consisting of a receive equalization network, noise filtering and programmable line build-outs (LBO).
5.1.1
Receive Equalization Network (T1/J1)
(R)
The FALC -LH automatically recovers the signals received on pins RL1/2 in a range of up to -36 dB. The maximum reachable length with a 22 AWG twisted-pair cable is 2000 m. After Reset the FALC(R)-LH is in "Short Haul" mode, received signals are recovered up to -10 dB of cable attenuation. Switching in "Long Haul" mode is done by setting of register LIM0.EQON. The integrated receive equalization network recovers signals with up to -36 dB of cable attenuation. Noise filters eliminate the higher frequency part of the received signals. The incoming data is peak detected and sliced at 55% of the peak value to produce the digital data stream. The received data is then forwarded to the clock & data recovery unit.
5.1.2
Receive Line Attenuation Indication (T1/J1)
Status register RES reports the current receive line attenuation in a range of 0 to -36 dB in 25 steps of approximately 1.4 dB each. The least significant 5 bits of this register indicate the cable attenuation in dB. These 5 bits are only valid in conjunction with the two most significant bits (RES.EV1/0 = 01).
5.1.3
Receive Clock and Data Recovery (T1/J1)
The analog received signal on port RL1/2 is equalized and then peak-detected to produce a digital signal. The digital received signal on port RDIP/N is directly forwarded to the DPLL. The receive clock and data recovery extracts the route clock RCLK from the data stream received at the RL1/2, RDIP/RDIN or ROID lines and converts the data stream into a single rail, unipolar bit stream. Normally the clock that is output via pin RCLK is the recovered clock from the signal provided by RL1/2 or RDIP/N has a duty cycle close to 50 %. The free run frequency is defined by XTAL3 divided by 8 in periods with no signal. The intrinsic jitter generated in the absence of any input jitter is not more than 0.035 UI. In digital bipolar line interface mode the clock and data recovery accepts only B8ZS or AMI coded signals with 50 % duty cycle.
5.1.4
Receive Line Coding (T1/J1)
The B8ZS line code or the AMI (ZCS) coding is provided for the data received from the ternary or the dual rail interface. All code violations that do not correspond to zero substitution rules are detected. The detected errors increment the code violation counter (16 bits length). In case of the optical interface mode NRZ coding is performed automatically and data is latched with the falling edge of pin RCLKI. When using the
Data Sheet 103 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 optical interface with NRZ coding, the decoder is by-passed and no code violations are detected. Additionally, the receive line interface contains the alarm detection for Alarm Indication Signal AIS (Blue Alarm) and the Loss of Signal LOS (Red Alarm). Pulse density violations are detected and indicated via bit FRS1.PDEN. The signal at the ternary interface is received at both ends of a transformer.
RL1 Line
t2
t1
R2
RL2
FALC
R
ITS10967
Figure 32
*
Receiver Configuration (T1/J1) Recommended Receiver Configuration Values (T1/J1) Characteristic Impedance 100 T1 110 J1 220 1: 2 2
Table 22 Parameter
R2 ( 1 %) []
t2 : t1
200 1:
5.1.5
Loss of Signal Detection (T1/J1)
There are different definitions for detecting Loss of Signal alarms (LOS) in the ITU-T G.775 and AT&T TR 54016. The FALC(R)-LH covers all these standards. The LOS indication is performed by generating an interrupt (if not masked) and activating a status bit. Additionally a LOS status change interrupt is programmable via register IPC.SCI. * Detection: An alarm is generated if the incoming data stream has no pulses (no transitions) for a certain number (N) of consecutive pulse periods. "No pulse" in the digital receive interface means a logical zero on pins RDIP/RDIN/ROID. A pulse with an amplitude less than Q dB below nominal is the criteria for "no pulse" in the analog receive interface (LIM1.DRS=0). In short haul mode (LIM0.EQON = 0), the receive signal level Q is programmable via three control bits LIM1.RIL2...0 in a range of about 1400 to 200 mV differential voltage between pins RL1/2 (see Chapter 11.3 on page 357). In long
Data Sheet
104
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 haul mode (LIM0.EQON = 1) the analog LOS criteria is defined by the equalizer status. The number N may be set via a 8 bit register PCD. The contents of the PCD register is multiplied by 16, which results in the number of pulse periods, or better, the time which has to suspend until the alarm has to be detected. The range therefore results from 16 to 4096 pulse periods. * Recovery: In general the recovery procedure starts after detecting a logical "one" (digital receive interface) or a pulse (analog receive interface) with an amplitude more than Q dB (defined by LIM1.RIL2...0) of the nominal pulse. The value in the 8 bit register PCR defines the number of pulses (1 to 255) to clear the LOS alarm. Additional recovery conditions may be programmed by register LIM2.
Note: In long haul mode, LOS alarm is declared either if "no pulses" are detected for the period defined in PCD or the signal level drops below typically about -35 dB of the nominal signal ("low signal level"). Additionally, the incoming data stream is cleared, if this "low signal level" is detected in order to generate a fixed data stream before first bit errors occur. Typically, this loss of signal threshold is about -36 dB. Because the DS1 signal varies at 3.0V +/ - 20%, this loss of signal threshold correlates directly to the transmitted pulse amplitude. It changes to -33 dB, if the generated maximum transmit amplitude at the remote end is not more than 2.4V For recovery this means, that at first the signal level has to increase and then the pulses are counted and compared to PCR to return from LOS indication. Please also note, that this behavior is slightly different to FALC-LH V1.1.
5.1.6
Receive Jitter Attenuator (T1/J1)
The receive jitter attenuator is placed in the receive path. The jitter attenuator meets the requirements of PUB 62411, PUB 43802, TR-TSY 009,TR-TSY 253, TR-TSY 499 and ITU-T I.431, G.703 and G. 824. The internal DCO-R generates a "jitter free" output clock which is directly dependent on the phase difference of the incoming clock and the jitter attenuated clock. The receive jitter attenuator can be either synchronized with the extracted receive clock RCLK or to a 1.544 or 2.048-MHz clock provided on pin SYNC. Received data are written into the receive elastic buffer with RCLK and are read out with SCLKR. Optionally an 8 kHz clock is provided on pin XCLK/FSC or FSC. The DCO-R circuitry attenuates the incoming jittered clock starting at 6 Hz jitter frequency with 20 dB per decade fall off. Wander with a jitter frequency below 6 Hz is passed unattenuated. The intrinsic jitter in the absence of any input jitter is < 0.02UI.
Data Sheet
105
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 For some applications it might be useful starting of jitter attenuation at lower frequencies. Therefore the corner frequency is switchable by the factor of ten down to 0.6 Hz (LIM2.SCF). Jitter attenuation can be achieved either using an external tunable crystal on pins XTAL1/XTAL2 or using the crystal-less jitter attenuation selected by LIM2.DJA1/2. In this case, a stable clock or regular crystal of 16.384 MHz has to be provided on pin XTAL1 (+/- 50 ppm). In crystal-less mode the system clock output on pin CLK16M can be either the dejittered or the non-dejittered clock (LIM3.CSC). The DCO-R circuitry is automatically centered to the nominal bit rate if the reference clock on pin SYNC/RCLK is missed for two 2.048 or 1.544-MHz clock periods. In analog line interface mode the RCLK is always running. Only in digital line interface mode with single rail data (NRZ) a gapped clock on pin RCLK may occur. The receive jitter attenuator works in two different modes: * Slave mode In Slave mode (LIM0.MAS = 0) the DCO-R is synchronized with the recovered route clock. In case of LOS the DCO-R switches to Master mode automatically. * Master mode In Master mode (LIM0.MAS = 1) the jitter attenuator is in free running mode if on pin SYNC no clock is supplied. If an external clock on the SYNC input is applied, the DCOR synchronizes to this input. The external frequency can be 1.544 MHz (LIM1.DCOC=0) or 2.048 MHz (LIM1.DCOC=1). The following table shows the clock modes with the corresponding synchronization sources. Table 23 Mode Master Master Master System Clocking (T1/J1) Internal LOS Active SYNC Input System Clocks free running (oscillator centered)
independent Fixed to VSS
independent 1.544 MHz Synchronized with SYNC input (LIM1.DCOC=0) independent 2.048 MHz Synchronized with SYNC input (LIM1.DCOC=1) no no Fixed to VSS Synchronized with Line RCLK
Slave Slave
1.544 MHz Synchronized with Line RCLK or 2.048 MHz
Data Sheet
106
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Table 23 Mode Slave Slave Slave System Clocking (T1/J1) (cont'd) Internal LOS Active yes yes yes SYNC Input Fixed to VSS System Clocks Free running (oscillator centered)
1.544 MHz Synchronized with SYNC (LIM1.DCOC = 0) 2.048 MHz Synchronized with SYNC (LIM1.DCOC = 1)
The jitter attenuator meets the jitter transfer requirements of the PUB 62411, PUB 43802, TR-TSY 009,TR-TSY 253, TR-TSY 499, I.431 and G. 703.(refer to Figure 33).
10 dB 0 -10
Attenuation
ITD10314
PUB 62411_H PUB 62411_L FALC R Slope - 20 dB/Decade
-20 -30
Slope - 40 dB/Decade -40 -50 -60 -70 1 10 100 1000 Frequency 10000 Hz 100000
Figure 33
Jitter Attenuation Performance (T1/J1)
Data Sheet
107
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.1.7
Jitter Tolerance (T1/J1)
(R)
The FALC -LH receiver's tolerance to input jitter complies to ITU and Bellcore requirements for T1 applications. Figure 34 shows the curves of different input jitter specifications stated below as well as the FALC(R)-LH performance.
1000 PUB 62411 TR-NWT 000499 Cat II CCITT G.823 ITU-T I.431 FALC(R)
UI
100
Jitter Amplitude
10
1
0.1 1 10 100 1000 10000 Hz 100000
F0025
Jitter Frequency
Figure 34
Jitter Tolerance (T1/J1)
Data Sheet
108
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.1.8
Output Jitter (T1/J1)
According to the input jitter defined by PUB62411 the FALC(R)-LH generates the output jitter, which is specified in Table 24Table below. Table 24 Specification PUB 62411 Output Jitter (T1/J1) Measurement Filter Bandwidth Lower Cutoff 10 Hz 8 kHz 10 Hz Upper Cutoff 8 kHz 40 kHz 40 kHz Broadband Output Jitter (UI peak to peak) < 0.02 < 0.02 < 0.02 < 0.02
5.1.9
Transmit Jitter Attenuator (T1/J1)
The transmit jitter attenuator DCO-X circuitry generates a "jitter free" transmit clock and meets the following requirements: PUB 62411, PUB 43802, TR-TSY 009,TR-TSY 253, TR-TSY 499 and ITU-T I.431 and G.703. The DCO-X circuitry works internally with the same high frequency clock as the receive jitter attenuator it does. It synchronizes either to the working clock of the transmit backplane interface or the clock provided by pin SYNC2 (1.544 MHz if LIM1.DCOC=0 or 2.048 MHz if LIM1.DCOC=1) or the receive clock RCLK (remote loop with JATT/loop-timed). The DCO-X attenuates the incoming jitter starting at 6 Hz with 20 dB per decade fall off. With the jitter attenuated clock, which is directly dependent on the phase difference of the incoming clock and the jitter attenuated clock, data is read from the transmit elastic buffer (2 frames) or from the JATT buffer (2 frames, remote loop with JATT) Wander with a jitter frequency below 6 Hz is passed transparently. The DCO-X accepts gapped clocks which are used in ATM or SDH/SONET applications. The jitter attenuated clock is output on pin XCLK. The transmit jitter attenuator can be disabled. In the loop-timed clock configuration (LIM2.ELT) the DCO-X circuitry generates a transmit clock which is frequency synchronized with RCLK. In this configuration the transmit elastic buffer has to be enabled.
Data Sheet
109
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
D
A Pulse Shaper
Framer
Elastic Store
XDI
XCLK
6 MHz
DCO-X
1.5 MHz
PD Osc.
Rate Conv.
SCLKX SYNC2 RCLK
XTAL3 12.352 MHz
F0049
Figure 35
Transmit Clock System (T1/J1)
Note: DR = Dual Rail Interface; DCO-X = Digital Controlled Oscillator Transmit
5.1.10
Framer/Synchronizer (T1/J1)
The following functions are performed: * Synchronization on pulse frame and multiframe * Error indication when synchronization is lost. In this case, AIS is sent to the system side automatically and Remote Alarm to the remote end if en/disabled. * Initiating and controlling of resynchronization after reaching the asynchronous state. This can be done automatically by the FALC(R)-LH or user controlled via the microprocessor interface. * Detection of remote alarm (yellow alarm) indication from the incoming data stream. * Separation of service bits and data link bits. This information is stored in special status registers. * Detection of framed or unframed In Band Loop Up/Down Code * Generation of various maskable interrupt statuses of the receiver functions.
Data Sheet
110
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 * Generation of control signals to synchronize the CRC checker and the receive elastic buffer. If programmed and applicable to the selected multiframe format, CRC checking of the incoming data stream is done by generating check bits for a CRC multiframe according to the CRC 6 procedure (refer to ITU-T G.704). These bits are compared with those check bits that are received during the next CRC multiframe. If there is at least one mismatch, the CRC error counter (16 bit) is incremented.
5.1.11
Receive Elastic Buffer (T1/J1)
The received bit stream is stored in the receive elastic buffer. The memory is organized as a two-frame elastic buffer with a maximum size of 48 x 8 bit. The size of the elastic buffer can be configured independently for the receive and transmit direction. Programming of the receive buffer size is done by SIC1.RBS1/0 : * RBS1/0 = 00 : two frame buffer or 384 bits Maximum of wander amplitude (peak-to-peak): (1 UI = 648 ns ) System interface clocking rate: 8.192 MHz: 142 UI in channel translation mode 0 78 UI in channel translation mode 1 System interface clocking rate: 1.544 MHz: max. wander: 126 UI average delay after performing a slip: 1 frame or 193 bits * RBS1/0 = 01 : one frame buffer or 193 bits System interface clocking rate: 8.192 MHz: Max. wander : 80 UI in channel translation mode 0 Max. wander : 50 UI in channel translation mode 1 System interface clocking rate: 1.544 MHz: max. wander: 74 UI average delay after performing a slip: 96 bits * RBS1/0 = 10 : short buffer or 96 bits : System interface clocking rate: 8.192 MHz: Max. wander : 28 UI in channel translation mode 0; channel translation mode 1 not supported System interface clocking rate: 1.544 MHz: max. wander: 38 UI average delay after performing a slip: 48 bits * RBS1/0 = 11 : Bypass of the receive elastic buffer The functions of the receive elastic buffer are: * Clock adaption between system clock (SCLKR) and internally generated route clock (RCLK). * Compensation of input wander and jitter.
Data Sheet 111 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 * Frame alignment between system frame and receive route frame * Reporting and controlling of slips Controlled by special signals generated by the receiver, the unipolar bit stream is converted into bit-parallel, time slot serial data which is circularly written to the elastic buffer using the internally generated Receive Route Clock (RCLK). Reading of stored data is controlled by the System Clock sourced by SCLKR and the Synchronous Pulse (SYPR) in conjunction with the programmed offset values for the receive time slot/clock slot counters. After conversion into a serial data stream, the data is given out via port RDO. If the receive buffer is bypassed, data is clocked off with RCLK instead of SCLKR. If 8.192 MHz reference frequency is used, one of two channel translation modes has to be selected. The 24 received time slots (T1/J1) can be translated into the 32 system time slots (E1) in two different channel translation modes (selected by FMR1.CTM). Unequipped time slots are set to `FFH'. Refer to Table 26. In one frame or short buffer mode the delay through the receive buffer is reduced to an average delay of 96 or 48 bits. In this case SYPR to be programmed as input is not allowed. Slips are performed in all buffer modes except the bypass mode. After a slip is detected the read pointer is adjusted to one half of the current buffer size. The following table gives an overview of the receive buffer operating mode.
*.
Table 25
Receive Buffer Operating Modes (T1/J1) Buffer Size bypass1) TS Offset programing (RC1...0) RFM (SYPR = output) must be selected; value of RC1...0 determines the position of RFM RFM (SYPR = output) must be selected; value of RC1...0 determines the position of RFM RFM (SYPR = output) must be selected; value of RC1...0 determines the position of RFM Slip performance no slips
SIC1.RBS1...0 11
10
short buffer
yes
01
1 frame
yes
00
2 frames
SYPR is input and determines the yes Slips are frame position together with performed on the RC1...0 offset. frame boundary
1)
In bypass mode the clock provided on pin SCLKR is ignored. Clocking is done with RCLK.
Data Sheet
112
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Figure 36 gives an idea of operation of the receive elastic buffer: A slip condition is detected when the write pointer (W) and the read pointer (R) of the memory are nearly coincident, i.e. the read pointer is within the slip limits (S +, S -). If a slip condition is detected, a negative slip (one frame or one half of the current buffer size is skipped) or a positive slip (one frame or one half of the current buffer size is read out twice) is performed at the system interface, depending on the difference between RCLK and the current working clock of the receive backplane interface. i.e. on the position of pointer R and W within the memory. A positive/negative slip is indicated in the interrupt status bits ISR3.RSP and ISR3.RSN.
Frame 2 Time Slots
R' R Slip SW S+
Frame 1 Time Slots Moment of Slip Detection W : Write Pointer (Route Clock controlled) R : Read Pointer (System Clock controlled) S+, S- : Limits for Slip Detection (mode dependent)
ITD10952
Figure 36
*
The Receive Elastic Buffer as Circularly Organized Memory Channel Translation Modes (T1/J1) Speech Channels C. Translation Mode 1 FS/DL 1 2 3 4
113
Table 26
C. Translation Mode 0 FS/DL 1 2 3 -
Data Sheet
Time Slots 0 1 2 3 4
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Table 26 Channel Translation Modes (T1/J1) (cont'd) Speech Channels C. Translation Mode 0 4 5 6 - 7 8 9 - 10 11 12 - 13 14 15 - 16 17 18 - 19 20 21 - 22 23 24 - : FFH C. Translation Mode 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 - - - - - - - Time Slots 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Data Sheet
114
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.1.12
Receive Signaling Controller (T1/J1)
The signaling controller may be programmed to operate in various signaling modes. The FALC(R)-LH performs the following signaling and data link methods.
5.1.12.1 HDLC/SDLC or LAPD Access
In case of common-channel signaling the signaling procedure HDLC/SDLC or LAPD according to Q.921 is supported. The signaling controller of the FALC(R)-LH performs the FLAG detection, CRC checking, address comparison and zero bit-removing. The received data flow and the address recognition features may be performed in very flexible way, to satisfy almost any practical requirements. Depending on the selected address mode, the FALC(R)-LH may perform a 1 or 2 byte address recognition. If a 2-byte address field is selected, the high address byte is compared with the fixed value FEH or FCH (group address) as well as with two individually programmable values in RAH1 and RAH2 registers. According to the ISDN LAPD protocol, bit 1 of the high byte address is interpreted as command/response bit (C/R) and is excluded from the address comparison. Buffering of receive data is done in a 64 byte deep RFIFO. In signaling controller transparent mode, fully transparent data reception without HDLC framing is performed, i.e. without FLAG recognition, CRC checking or bit-stuffing. This allows user specific protocol variations. The FALC(R)-LH offers the flexibility to extract data during certain time slots. Any combination of time slots may be programmed independently for the receive and transmit direction.
5.1.12.2 CAS Bit-robbing (T1/J1, serial access mode)
The signaling information is carried in the LSB of every sixth frame for each time slot. The signaling controller samples the bit stream on the receive system side. The complete CAS multiframe is transmitted on pin RSIG. The signaling data is clocked out with the working clock of the receive highway in conjunction with the receive synchronization pulse (SYPR). Data on RSIG is transmitted in the last 4 bits per time slot and are time slot aligned to the data on RDO. In ESF format the A,B,C,D bits are placed in the bit positions 5-8 per time slot. In F12/72 format the A and B bits are repeated in the C and D bit positions. The first 4 bits per time slot can be optionally fixed high or low. The FS/DL time slot is transmitted on RDO and RSIG. During IDLE time slots no signaling information is transmitted. Data on RSIG are only valid if the freeze signaling status is inactive. With FMR1.SAIS an all ones may be transmitted on RDO and RSIG. Update of the receive signaling information is controlled by the freeze signaling status. If signaling information is frozen updating of the registers RS1-16 is disabled. The freeze signaling status is output on pin RFSP/FREEZS and is generated, if: * FRS0.LFA/LMFA = 1 or * FRS0.LOS=1 or
Data Sheet
115
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 * a receive slip occurred
5.1.12.3 CAS Bit-robbing (T1/J1, P access mode)
The signaling information is carried in the LSB of every sixth frame for each time slot. The signaling controller samples the bit stream on the receive line side. Receive signaling data is stored in the registers RS1-12. To relieve the P load from always reading the complete RS1-12 buffer every 3 ms the FALC(R)-LH notifies the P via interrupt ISR0.RSC only when signaling changes from one multiframe to the next.
5.1.12.4 Bit Oriented Messages in ESF-DL Channel (T1/J1)
The FALC(R)-LH supports the DL-channel protocol for ESF format according to ANSI T1.403 specification or according to AT&T TR54016. The HDLC- and Bit Oriented Message (BOM)-Receiver may be switched ON/OFF independently. If the FALC(R)-LH is used for HDLC formats only, the BOM receiver has to be switched off. If HDLC- and BOM-receiver has been switched on (MODE.HRAC/BRAC), an automatic switching between HDLC and BOM mode is enabled. If eight or more consecutive ones are detected, the BOM mode is entered. Upon detection of a flag in the data stream, the FALC(R)-LH switches back to HDLC-mode. In BOM-mode, the following byte format is assumed (the left most bit is received first): 111111110xxxxxx0 Two different BOM reception modes can be programmed (CCR1.BRM).
5.1.12.5 Data Link Access in F72 Format (T1/J1)
The DL-channel protocol is supported as follows: - access is done on a multiframe basis via registers RDL1-3, - the DL bit information from frame 26 to 72 is stored in the Receive FIFO of the signaling controller.
5.2
System Interface in T1/J1 Mode
The interface to the receive system highway is realized by two data buses, one for the data RDO and one for the signaling data RSIG. The receive highway is clocked via pin SCLKR, while the interface to the transmit system highway is independently clocked via pin SCLKX. The frequency of these working clocks and the data rate for the receive and transmit system interface is programmable by SIC1.SRSC and SIC1.SXSC. Transmit and receive clock frequencies have to be the same. Selectable system clock and data rates and their valid combinations are shown in the table below.
Data Sheet
116
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
*
Table 27 1.544 Mbit/s 2.048 Mbit/s 4.096 Mbit/s
System Clock and Data Rates (T1/J1) Clock Rate 1.544 MHz x --Clock Rate 8.192 MHz -x x
System Data Rate
x = valid, -- = invalid Generally the data or marker on the system interface are clocked off or latched on the falling edge of the SCLKR/SCLKX clock independently. The signal on pin SYPR in conjunction with the assigned timeslot offset in register RC0 and RC1 define the beginning of a frame on the receive system highway. The signal on pin SYPX in conjunction with the assigned timeslot offset in register XC0 and XC1 define the beginning of a frame on the transmit system highway. Adjusting the frame begin (time slot 0, bit 0) relative to SYPR/X is possible in the range of 0...125 sec. A receive frame marker RFM can be activated (SIC2.SRFSO = 1) during any bit position of the entire frame. Programming is done with registers RC1/0. The receive frame marker is active high for one 1.544/2.048 MHz cycle and is clocked off with the falling edge of the clock which is input on port SCLKR or RCLK.
Data Sheet
117
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
SYNC Receive Clock
Receive Jitter Attenuator
System Clocks
SCLKR RSIGM RMFB Receive Elastic Buffer Receive Backplane DLR/RSIG RFM SYPR Receive Data Transmit Data
BY P PLB BY P
BY P
RDO XDI SCLKX
XSIGM Transmit Elastic Buffer XMFB Transmit Backplane DLX XMFS SYPX XSIG
Transmit Clock
Transmit Jitter Attenuator
SYNC2 RCLK
F0050
Figure 37
System Interface (T1/J1)
Data Sheet
118
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
(e.g. F12 Frame Format) RDO FRAME 1 FRAME 2 FRAME 3
~~ ~~
FRAME 11 FRAME 12 FRAME 1 FRAME 2
RMFB
SYPR
SYPR Trigger Edge 1) SCLKR
8.192 MHz
Sample Edge
T SCLKR
1.544 MHz
Programmable via RC0/1
~~ ~~
TS0 RDO/RSIG
2 Mbit/s Data Rate
Bit 255
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Bit 0
RDO/RSIG
4 Mbit/s Data Rate (SCLKR = 8.192 MHz)
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 255 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 4 Mbit Interface
RDO/RSIG
4 Mbit/s Data Rate (SCLKR = 8.192 MHz)
RFM
Receive Frame Marker RCO/1
2 Mbit Interface 4 Mbit Interface Sample Edge T Bit 192 Programmable via RC0/1 FDL Bit 1 Bit 2
marks any bit position 2 Mbit Interface marks any Time-Slot
RSIGM
Time-Slot Marker RTR1...4
RDO
1.544 Mbit/s Data Rate (SCLKR = 1.544 MHz)
Bit 3
Bit 4
DLR
DL Bit Marker 1.544 Mbit Interface
1)
only falling trigger edge shown, depending on Bit SIC3.RESR
ITD10949
Figure 38
Data Sheet
Receive System Interface Clocking (T1/J1)
119 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
*
SYPR SCLKR T TS31 34567 TS0 TS1 TS2 TS3 F012345670123456701234567 TS4 012 IDLE-Channel ABCD ABCD ABCD
RDO
FS/DL-Channel RSIG ABCD F
T = Time-Slot Offset F = FS/DL-Bit ABCD = Signaling Bits for Time-Slot 1-24 Time-Slot Mapping acc. Channel Translation Mode 0
ITT10519
Figure 39
*
2.048 Mbit/s Receive Signaling Highway (T1/J1)
125 s SYPR SCLKR T RDO RSIG TS0 TS1 F0123456701234567 ABCDF ABCD ABCD
~~
~
~~~~
TS23 01234567F ABCDF
T = Time-Slot Offset F = FS/DL-Bit ABCD = Signaling Bits for Time-Slot 1-24
ITT10521
Figure 40
1.544 Mbit/s Receive Signaling Highway (T1/J1)
Data Sheet
120
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.2.1
Time Slot Assigner (T1/J1)
(R)
The FALC -LH offers the flexibility to connect data during certain time slots, as defined by registers RTR1-4 and TTR1-4, to the RFIFO and XFIFO, respectively. Any combinations of time slots can be programmed for the receive and transmit directions. If CCR1.EITS = 1 the selected time slots (RTR1-4) are stored in the RFIFO of the signaling controller and the XFIFO contents is inserted into the transmit path as controlled by registers TTR1-4. Table 28 Receive Time Slot Register RTR 1.7 RTR 1.6 RTR 1.5 RTR 1.4 RTR 1.3 RTR 1.2 RTR 1.1 RTR 1.0 RTR 2.7 RTR 2.6 RTR 2.5 RTR 2.4 RTR 2.3 RTR 2.2 RTR 2.1 RTR 2.0 Time Slot Assigner (T1/J1) Transmit Time Slot Register TTR 1.7 TTR 1.6 TTR 1.5 TTR 1.4 TTR 1.3 TTR 1.2 TTR 1.1 TTR 1.0 TTR 2.7 TTR 2.6 TTR 2.5 TTR 2.4 TTR 2.3 TTR 2.2 TTR 2.1 TTR 2.0 Time Slots Receive Time Slot Register RTR 3.7 RTR 3.6 RTR 3.5 RTR 3.4 RTR 3.3 RTR 3.2 RTR 3.1 RTR 3.0 RTR 4.7 RTR 4.6 RTR 4.5 RTR 4.4 RTR 4.3 RTR 4.2 RTR 4.1 RTR 4.0 Transmit Time Slot Register TTR 3.7 TTR 3.6 TTR 3.5 TTR 3.4 TTR 3.3 TTR 3.2 TTR 3.1 TTR 3.0 TTR 4.7 TTR 4.6 TTR 4.5 TTR 4.4 TTR 4.3 TTR 4.2 TTR 4.1 TTR 4.0 Time Slots
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
In receive direction, transparency for ternary or dual/single rail unipolar data is always achieved if the receiver is in the synchronous state and bit FMR5.RTF is set. All bits in the F-bit position of the incoming multiframe are forwarded to RDO and inserted in the FS/DL time-slot or in the F-bit position. In asynchronous state the received data may be transparently switched through if bit FMR2.DAIS is set. For the receive path bit FMR5.RTF has the same function as bit FMR4.TM.
Data Sheet 121 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
FS/DL Time-Slot MSB 1 LSB 8 FS/DL FS/DL Data Bit
ITD06460
2
3
4
5
6
7
Figure 41
Receive FS/DL Bits in Time Slot 0 on RDO (T1/J1)
Data Sheet
122
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3
Transmit Path in T1/J1 Mode
Compared to the receive paths the inverse functions are performed for the transmit direction. The interface to the transmit system highway is realized by two data buses, one for the data XDI and one for the signaling data XSIG. The time slot assignment is equivalent to the receive direction. All unequipped (idle) time slots are ignored. Latching of data is controlled by the System Clock (SCLKX) and the Synchronous Pulse (SYPX/XMFS) in conjunction with the programmed offset values for the Transmit Time slot/Clock slot Counters XC1/0. The frequency of the working clock for the transmit system interface is programmable by SIC1.SXSC. Refer also to Table 27 on page 117. The received bit stream on ports XDI and XSIG can be multiplexed internally on a time slot basis, if enabled by SIC3.TTRF = 1, if not serial CAS mode is selected (see Chapter 5.1.12.2 on page 115). The data received on port XSIG can be sampled if the transmit signaling marker XSIGM is active high. Data on port XDI is sampled if XSIGM is low for the respective time slot. Programming the XSIGM marker is done with registers TTR1-4.
Data Sheet
123
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
XDI
FRAME1
FRAME2
FRAME3
FRAME12
FRAME1
FRAME2
FRAME3
XMFB XMFS
SYPX
Bit 0 Sample Edge Trigger Edge SYPX T 1) SCLKX
XSIGM
Time Slot Marker
XDI
FDL
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
DLX
DL Bit Marker
1)
delay T is programmable by XC0/1;
F0030
Figure 42
Data Sheet
Transmit System Interface Clocking: 1.544 MHz (T1/J1)
124 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
XDI
FRAME1
FRAME2
FRAME3
FRAME12
FRAME1
FRAME2
FRAME3
XMFS
SYPX
Bit 0 Sample Edge Trigger Edge SYPX T SCLKX
1)
XSIGM Time-Slot Marker XTR1...4 RC0.SICS = 0 (1)
XDI/XSIG
RC0.SICS = 0
1
2
3
4
5
6
7
8
XDI/XSIG
RC0.SICS = 1
1
2
3
4
5
6
7
8
DLX
DL-Bit Marker RC0.SICS = 0
DLX
DL-Bit Marker RC0.SICS = 1
1)
delay T is programmable by XC0/1;
Blatt-1
Figure 43
Data Sheet
Transmit System Interface Clocking: 8 MHz/4 Mbit/s (T1/J1)
125 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
*
SYPX SCLKX T TS31 34567 TS0 TS1 TS2 TS3 F012345670123456701234567 TS4 012 IDLE-Channel ABCD ABCD ABCD
XDI
FS/DL-Channel XSIG ABCD F
T = Time-Slot Offset F = FS/DL-Bit ABCD = Signaling Bits for Time-Slot 1-24 Time-Slot Mapping acc. Channel Translation Mode 0
ITT10520
Figure 44
*
2.048 Mbit/s Transmit Signaling Clocking (T1/J1)
125 s SYPX SCLKX T XDI XSIG TS0 TS1 F0123456701234567 ABCDF ABCD ABCD
~~
~
~~~~
TS23 01234567F ABCDF
T = Time-Slot Offset F = FS/DL-Bit ABCD = Signaling Bits for Time-Slot 1-24
ITT10522
Figure 45
1.544 Mbit/s Transmit Signaling Highway (T1/J1)
Data Sheet
126
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
Multiframe n (e.g. F12) Frame 1 RD0 XDI Frame 2 Frame 3 Frame 12
RMFB XMFB
Signals in channel translation mode 0 RD0 XDI FS/ 24 DL 1
~ ~
~ ~
~ ~
2
3
4
5
6
7
8
9
19 20 21
FS/ 22 23 24 DL
RSIGM 1) XSIGM
Signals in channel translation mode 1 RD0 XDI FS/ DL 1
~ ~
2
16 17 18 19 20 21 22 23 24
RSIGM 1) XSIGM
1)
RSIGM and XSIGM are programed via registers RTR1... 4 / TTR1... 4 to mark only channel 24
~ ~
FS/ DL 1
ITD06462
Figure 46
Data Sheet
Signaling Marker for CAS/CAS-CC Applications (T1/J1)
127 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
Multiframe n (e.g.F12) Frame 1 RD0 XDI Frame 2 Frame 6 Frame 12
~ ~
~ ~
RMFB XMFB
Signals in channel translation mode 0 RD0 XDI FS/ 24 DL 1
~ ~
~ ~
~ ~
2
3
4
5
6
7
8
9
19 20 21
FS/ 22 23 24 DL
Signals in frames 6 and 12 of each multiframe RSIGM XSIGM
1)
Signals in channel translation mode 1 RD0 XDI FS/ DL 1
~ ~
~ ~
2
16 17 18 19 20 21 22 23 24
~ ~
FS/ DL 1
Signals in frames 6 and 12 of each multiframe RSIGM XSIGM
1) 1)
RSIGM and XSIGM will mark the robbed bit positions if XCO.BRM is set high
~ ~
ITD06463
Figure 47
Data Sheet
Signaling Marker for CAS-BR Applications (T1/J1)
128 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Transmit Direction FS/DL data on system transmit highway (XDI), time slot 0.
FS/DL Time-Slot MSB 1 LSB 8 FS/DL FS/DL Data Bit
ITD06460
2
3
4
5
6
7
Figure 48
Transmit FS/DL Bits on XDI (T1/J1)
5.3.1
Transmit Signaling Controller (T1/J1)
Similar to the receive signaling controller the same signaling methods and the same time slot assignment are provided. The FALC(R)-LH performs the following signaling and data link methods.
5.3.1.1
HDLC or LAPD access
The transmit signaling controller of the FALC(R)-LH performs the FLAG generation, CRC generation, zero bit-stuffing and programmable IDLE code generation. Buffering of transmit data is done in the 64 byte deep XFIFO. The signaling information is multiplexed internally with the data applied on port XDI or XSIG. In signaling controller transparent mode, fully transparent data transmission without HDLC framing is performed. Optionally the FALC(R)-LH supports the continuous transmission of the XFIFO contents. Operating in HDLC or BOM mode "flags" or "idle" may be transmitted as interframe timefill. The FALC(R)-LH offers the flexibility to insert data during certain time slots. Any combinations of time slots may be programmed separately for the receive and transmit directions.
5.3.1.2
CAS Bit-robbing (T1/J1)
The signaling controller inserts the bit stream either on the transmit line side or if external signaling is enabled on the transmit system side. Signaling data may be sourced internally from registers XS1-12 or externally on port XSIG. In external signaling mode the signaling data is sampled with the working clock of the transmit system interface (SCLKX) in conjunction with the transmit synchronous pulse (SYPX). Data on XSIG is latched in the bit positions 5-8 per time slot, bits 1-4 are
Data Sheet
129
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 ignored. The FS/DL bit is sampled on port XSIG and inserted in the outgoing data stream. The received CAS multiframe is inserted frame aligned into the data stream on XDI. Data sourced by the internal signaling controller overwrites the external signaling data. Internal multiplexing of data and signaling data may be disabled on a per time slot basis (Clear Channel Capability). This is also valid when using the internal and external signaling mode.
5.3.1.3
Data Link Access in ESF/F24 and F72 Format (T1/J1)
The DL-channel protocol is supported as follows: - access is done on a multiframe basis via registers XDL1-3 or - HDLC access or transparent transmission (non HDLC mode) from XFIFO The signaling information stored in the XFIFO is inserted in the DL bits of frame 26 to 72 in F72 format or in every other frame in ESF format. Operating in HDLC or BOM mode "flags" or "idle" may be transmitted as interframe timefill.
Data Sheet
130
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3.2
Transmit Elastic Buffer (T1/J1)
The transmit elastic store with a size of max. 2 x 193 bit (two frames) serves as a temporary store for the PCM data to adapt the system clock (SCLKX) to the internally generated clock for the transmit data, and to re-translate time slot structure used in the system to that of the line side. Its optimal start position is initiated when programming the transmit time slot offset values. A difference in the effective data rates of system side and transmit side may lead to an overflow/underflow of the transmit memory: thus, errors in data transmission to the remote end may occur. This error condition (transmit slip) is reported to the microprocessor via interrupt status registers. The received bit stream from pin XDI is optionally stored in the transmit elastic buffer. The memory is organized as the receive elastic buffer. Programming of the transmit buffer size is done by SIC1.XBS1/0 : * XBS1/0 = 00 : bypass of the transmit elastic buffer * XBS1/0 = 01 : one frame buffer or 193 bits Maximum of wander amplitude (peak-to-peak): (1 UI = 648 ns ) System interface clocking rate: 8.192 MHz: Max. wander : 80 UI in channel translation mode 0 Max. wander : 50 UI in channel translation mode 1 System interface clocking rate: 1.544 MHz: max. wander: 74 UI average delay after performing a slip: 96 bits * XBS1/0 = 10 : two frame buffer or 386 bits System interface clocking rate: 8.192 MHz: 142 UI in channel translation mode 0 78 UI in channel translation mode 1 System interface clocking rate: 1.544 MHz: max. wander: 126 UI average delay after performing a slip: 193 bits * XBS1/0 = 11 : short buffer or 96 bits : System interface clocking rate: 8.192 MHz: Max. wander : 28 UI in channel translation mode 0; channel translation mode 1 not supported System interface clocking rate: 1.544 MHz: max. wander: 38 UI average delay after performing a slip: 48 bits The functions of the transmit buffer are: * Clock adaption between system clock (SCLKX) and internally generated transmit route clock (XCLK). * Compensation of input wander and jitter. * Frame alignment between system frame and transmit route frame
Data Sheet 131 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 * Reporting and controlling of slips Writing of received data from XDI is controlled by SCLKX and SYPX/XMFS in conjunction with the programmed offset values for the transmit time slot/clock slot counters. Reading of stored data is controlled by the clock generated by DCO-X circuitry and the transmit framer. With the dejittered clock data is read from the transmit elastic buffer and are forwarded to the transmitter. Reporting and controlling of slips is automatically done according to the receive direction. Positive/negative slips are reported in interrupt status bits ISR5.XSP and ISR5.XSN. A re-initialization of the transmit memory is done by re-programming the transmit time slot counter XC1 and with the next SYPX pulse. After that, this memory has its optimal start position. The frequency of the working clock for the transmit system interface is programmable by SIC1.SXSC and SIC1.SRSC to be 1.544 or 8.192 MHz. Generally the data or marker on the system interface are clocked off or latched on the falling edge of the SCLKX clock. The following table gives an overview of the transmit buffer operating modes. Table 29 Transmit Buffer Operating Modes (T1/J1) Buffer Size bypass 1 frame short buffer 1 frame 2 frames TS Offset programming enabled enabled enabled enabled enabled Slip performance no yes 1) yes yes yes If XSW.XTM = 1, slip is performed on the frame boundary SIC1.XBS1...0 00 SCLKX=1.544 MHz 00 SCLKX=8.192 MHz 01 10 11
1)
compatible with FALC(R)54
Data Sheet
132
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3.3
Transmitter (T1/J1)
The serial bit stream is then processed by the transmitter which has the following functions: Frame/multiframe synthesis of one of the four selectable framing formats Insertion of service and data link information AIS generation (Blue Alarm) Remote alarm (yellow alarm) generation CRC generation and insertion of CRC bits CRC bits inversion in case of a previously received CRC error or in case of activating per control bit * Generation of Loop Up/Down code * IDLE code generation per DS0 The frame/multiframe boundaries of the transmitter may be externally synchronized by using the SYPX/XMFS pin. Any change of the transmit time slot assignment subsequently produces a change of the framing bit positions on the line side. This feature is required if signaling and data link bits are routed through the switching network and are inserted in transmit direction via the system interface. In loop-timed configuration (LIM2.ELT = 1) disconnecting the control of the transmit system highway from the transmitter is done by setting FMR5.XTM. The transmitter is now in a free running mode without any possibility to update the multiframe position in case of changing the transmit time slot assignment. The FS/DL bits are generated independently of the transmit system interface. For proper operation the transmit elastic buffer size must be programmed to 2 frames. The contents of selectable time slots may be overwritten by the pattern defined via register IDLE. The selection of "idle channels" is done by programming the three-byte registers ICB1 ... ICB3. If AMI coding with zero code suppression (B7-stuffing) is selected, "clear channels" without B7-stuffing can be defined by programming registers CCB1 ... CCB3. * * * * * *
Data Sheet
133
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3.4
Transmit Line Interface (T1/J1)
The analog transmitter transforms the unipolar bit stream to ternary (alternate bipolar) return to zero signals of the appropriate programmable shape. The unipolar data is provided by pin XDI and the digital transmitter. Similar to the receive line interface three different data types are supported:
R1
XL1 Line
t1
t2 R1
XL2
FALC R
ITS10968
Figure 49
*
Transmitter Configuration (T1/J1) Example Transmitter Configuration Values (T1/J1) T1 100 5 1: 2 1: J1 110 5 2
Table 30 Parameter
Characteristic Impedance []
R1 ( 1 %) []
t2 : t1
* Ternary Signal Single rail data is converted into a ternary signal which is output on pins XL1 and XL2. Selection between B8ZS or simple AMI coding with zero code suppression (B7 stuffing) is provided. B7 stuffing may be disabled on a per time slot basis (Clear Channel capability). Selected by FMR0.XC1/0 and LIM1.DRS = 0. * Dual rail data PCM(+), PCM(-) at multifunction ports XDOP and XDON with 50 % or 100 % duty cycle and with programmable polarity. Line coding is done in the same way as in the ternary interface. Selected by FMR0.XC1=1 and LIM1.DRS = 1. * Unipolar data on port XOID is transmitted in NRZ (Non Return to Zero) with 100 % duty cycle to a fibre optical interface. Clocking off data is done with the rising edge of the transmit clock XCLK (1544 kHz) and with a programmable polarity. Selection is done by FMR0.XC1...0 = 00 and LIM1.DRS = 1.
Data Sheet
134
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3.5
Programmable Pulse Shaper and Line Build-Out (T1/J1)
In long haul applications the transmit pulse masks are optionally generated according to FCC68 and ANSI T1. 403. To reduce the crosstalk on the received signals the FALC(R)-LH offers the ability to place a transmit attenuator in the data path. Transmit attenuation is selectable from 0, -7.5, -15 or -22.5 dB (register LIM2.LBO2/1). ANSI T1. 403 defines only 0...-15 dB. The FALC(R)-LH includes a programmable pulse shaper to satisfy the requirements of ANSI T1. 102, also various DS1, DSX-1 specifications are met. The amplitude of the pulse shaper is programmable individually via the microprocessor interface to allow a maximum of different pulse templates. The line length is selected by programming the registers XPM2...0 as shown for typical values in the table below. The values with transformer ratio: 1: 2 ; cable: PULP 22AWG (100 ); serial resistors: 5 . The XPM register values are given in decimal.
*
Table 31 Range in m 0...40 40...81 81...122 122...162 162...200
Pulse Shaper Programming (T1/J1) Range in ft. 0...133 133...266 266...399 399...533 533...655 XPM0 XPM1 XPM2 XP04XP00 25 27 29 31 31 XP14XP10 24 26 27 27 26 XP24XP20 6 7 10 13 14 XP34XP30 3 3 3 3 3
hexadecimal 19 5B 7D 7F 5F 9B 9F AB B7 BB 01 01 01 01 01
decimal
The transmitter requires an external step up transformer to drive the line. The required programming values might vary between applications and have to be optimized according to external component values, parasitics, and so on.
Data Sheet
135
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.3.6
Transmit Line Monitor (T1/J1)
The transmit line monitor compares the transmit line pulses on XL1 and XL2 with the transmit input signals received on pins XL1M and XL2M. The monitor detects faults on the primary side of the transformer and protects the device from damage by setting the transmit lines into high impedance state automatically. Faults on the secondary side can not be detected. To detect shorts, the configuration shown in Figure 50 must be provided and the default (reset) value of registers XPM0...2 must be selected. Otherwise a short detection can not be guaranteed. Two conditions are detected by the monitor: "Transmit Line Ones Density" (more than 31 consecutive zeroes) and "Transmit Line Shorted". In both cases a transmit line monitor status change interrupt is provided.
FALC R -LH XL2M XL1M XPM2.DAXLT/XLT Line Monitor TRI XL1 XL2 Pulse Shaper
XDATA
ITS09746
Figure 50
Transmit Line Monitor Configuration (T1/J1)
Data Sheet
136
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.4 5.4.1
Framer Operating Modes (T1/J1) General
: : : : 1.544 Mbit/s 193 bit, No. 1 ... 193 8 kHz 24 time slots, No. 1 ... 24 with 8 bits each, No. 1 ... 8 and one preceding F bit
Activated with bit FMR1.PMOD = 1. PCM line bit rate Single frame length Framing frequency Organization
Selection of one of the four permissible framing formats is performed by bits FMR4.FM1...0. These formats are: F4 F12 ESF F72 : : : : 4-frame multiframe 12-frame multiframe (D4) Extended Superframe (F24) 72-frame multiframe (SLC96)
The operating mode of the FALC(R)-LH is selected by programming the carrier data rate and characteristics, line code, multiframe structure, and signaling scheme. The FALC(R)-LH implements all of the standard and/or common framing structures PCM 24 (T1, 1.544 Mbit/s) carriers. The internal HDLC-Controller supports all signaling procedures including signaling frame synchronization/synthesis in all framing formats. After RESET, the FALC(R)-LH must be programmed with FMR1.PMOD = 1 to enable the T1(PCM24) mode. Switching between the framing formats is done via bit FMR4.FM1/0 for the receiver and for the transmitter.
5.4.2
General Aspects of Synchronization
Synchronization status is reported via bit FRS0.LFA (Loss Of Frame Alignment). Framing errors (pulse frame and multiframe) are counted by the Framing Error Counter FEC. Loss of Frame Alignment (FRS0.LFA or opt. FRS0.LMFA) is declared if: 2 out of 4 framing bits or 2 out of 5 framing bits or 2 out of 6 framing bits in F4/12/72 format or 2 out of 6 framing bits per multiframe period in ESF format or 4 consecutive multiframe pattern in ESF format are incorrect. It depends on the selected multiframe format and optionally on bit FMR2.SSP which framing bits are observed: F4:FT bits FRS0.LFA F12, F72:SSP = 0: FT bits FRS0.LFA: FS bits FRS0.LFA
Data Sheet 137 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 and FRS0.LMFA SSP = 1:FT FRS0.LFA FS FRS0.LMFA ESF:ESF framing bits FRS0.LFA The resynchronization procedure may be controlled by either one of the following procedure: * Automatically (FMR4.AUTO = 1). Additionally, it may be triggered by the user by setting/resetting one of the bits FMR0.FRS (Force Resynchronization) or FMR0.EXLS (External Loss of Frame). * User controlled, exclusively, via above control bits in the non-auto-mode (FMR4.AUTO = 0). FT and FS bit conditions, i.e. pulse frame alignment and multiframe alignment can be handled separately if programmed via bit FMR2.SSP. Thus, a multiframe resynchronization can be automatically initiated after detecting 2 errors out of 4/5/6 consecutive multiframing bits without influencing the state of the terminal framing. In the synchronous state, the setting of FMR0.FRS or FMR0.EXLS resets the synchronizer and initiates a new frame search. The synchronous state is reached if there is only one definite framing candidate. In the case of repeated apparent simulated candidates, the synchronizer remains in the asynchronous state. In asynchronous state, the function of FMR0.EXLS is the same as above. Setting bit FMR0.FRS induces the synchronizer to lock onto the next available framing candidate if there is one. Otherwise, a new frame search is started. This is useful in case the framing pattern that defines the pulseframe position is imitated periodically by a pattern in one of the speech/data channels. The control bit FMR0.EXLS should be used first because it starts the synchronizer to search for a definite framing candidate. To observe actions of the synchronizer, the Frame Search Restart Flag FRS0.FSRF is implemented. It toggles at the start of a new frame search if no candidate has been found at previous attempt. When resynchronization is initiated, the following values apply for the time required to achieve the synchronous state in case there is one definite framing candidate within the data stream:
*
Table 32 Frame Mode F4 F12 ESF F72
Resynchronization Timing (T1/J1) Average 1.0 3.5 3.4 13.0 Maximum 1.5 4.5 6.125 17.75 Units ms ms ms ms
Data Sheet
138
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
Auto-Mode Definite Candidate EXLS
Non-Auto-Mode Definite Candidate EXLS, FRS
Asynchronous
DON
DON DOFF
DOFF
EXLS, FRS
Multiple Candidates EXLS, FRS FRS DON DOFF
1)
Multiple Candidates EXLS, FRS FRS DON DOFF
Asynchronous
EXLS FRS
EXLS FRS
1)
: Depends on the Disturbance D : One Disturbance
ITD03574
Figure 51
Data Sheet
Influences on Synchronization Status (T1/J1)
139 2000-07
Asynchronous
Synchronous
Synchronous
Asynchronous
Synchronous
Synchronous
FRS
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Figure 51 gives an overview of influences on synchronization status for the case of different external actions. Activation of auto-mode and non-auto mode is performed via bit FMR4.AUTO. Generally, for initiating resynchronization it is recommended to use bit: FMR0.EXLS first. In case where the synchronizer remains in the asynchronous state, bit FMR0.FRS may be used to enforce it to lock onto the next framing candidate, although it might be a simulated one.
5.4.3
4-Frame Multiframe (F4 Format, T1/J1)
The allocation of the FT bits (bit 1 of frames 1 and 3) for frame alignment signal is shown in Table 33. Remote alarm (yellow alarm) is indicated by setting bit 2 to `0' in each time slot.
*
Table 33 1 2 3 4
4-Frame Multiframe Structure (T1/J1) FT 1 - 0 - FS Service bit Service bit
Frame Number
5.4.3.1
Synchronization Procedure
For multiframe synchronization, the terminal framing bits (FT bits) are observed. The synchronous state is reached if at least one terminal framing candidate is definitely found, or the synchronizer is forced to lock onto the next available candidate (FMR0.FRS).
5.4.4
12-Frame Multiframe (D4 or SF Format, T1/J1)
Normally, this kind of multiframe structure only makes sense when using the CAS Robbed Bit Signaling. The multiframe alignment signal is located at the FS-bit position of every other frame (refer to Table 34). There are two possibilities of remote alarm (yellow alarm) indication: * Bit 2 = 0 in each time slot of a frame, selected with bit FMR0.SRAF = 0 * The last bit of the multiframe alignment signal (bit 1 of frame 12) changes from `0' to `1', selected with bit FMR0.SRAF = 1.
Data Sheet
140
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
*
Table 34
12-Frame Multiframe Structure (T1/J1) FT 1 - 0 - 1 - 0 - 1 - 0 - FS - 0 - 0 - 1 - 1 - 1 - 0/RA 1) Signaling Channel Designation
Frame Number 1 2 3 4 5 6 7 8 9 10 11 12
1)
A
B
This bit can be used for remote alarm indication, if FMR0.SRAF = 1 is set. In this case, this FS bit is not used to regain synchronization.
5.4.4.1
Synchronization Procedure
In the synchronous state terminal framing (FT bits) and multiframing (FS bits) are observed, independently. Further reaction on framing errors depends on the selected synchronization/resynchronization procedure (via bit FMR2.SSP): * FMR2.SSP = `0': terminal frame and multiframe synchronization are combined. Two errors within 4/5/6 framing bits (via bits FMR4.SSC1/0) of one of the above leads to the asynchronous state for terminal framing and multiframing. Additionally to the bit FRS0.LFA, loss of multiframe alignment is reported via bit FRS0.LMFA. The resynchronization procedure starts with synchronizing upon the terminal framing. If the pulse framing has been regained, the search for multiframe alignment is initiated. Multiframe synchronization has been regained after two consecutive correct multiframe patterns have been received. * FMR2.SSP = `1': terminal frame and multiframe synchronization are separated Two errors within 4/5/6 terminal framing bits lead to the same reaction as described above for the "combined" mode. Two errors within 4/5/6 multiframing bits lead to the asynchronous state only for the multiframing. Loss of multiframe alignment is reported via bit FRS0.LMFA. The state of terminal framing is not influenced. Now, the resynchronization procedure includes only the search for multiframe alignment. Multiframe synchronization has been regained after two consecutive correct multiframe patterns have been received.
Data Sheet
141
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.4.5
Extended Superframe (F24 or ESF Format, T1/J1)
The use of the first bit of each frame for the multiframe alignment word, the data link bits, and the CRC bits is shown in Table 35 on page 142.
*
Table 35
Extended Superframe Structure (F24, ESF; T1/J1) F Bits Assignments FAS - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - 1 DL m - m - m - m - m - m - m - m - m - m - m - m - CRC - e1 - - - e2 - - - e3 - - - e4 - - - e5 - - - e6 - - Signaling Channel Designation
Multiframe Frame Number Multiframe Bit Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 0 193 386 579 772 965 1158 1351 1544 1737 1930 2123 2316 2509 2702 2895 3088 3231 3474 3667 3860 4053 4246 4439
A
B
C
D
5.4.5.1
Synchronization Procedures
For multiframe synchronization the FAS bits are observed. Synchronous state is reached if at least one framing candidate is definitely found, or the synchronizer is forced to lock onto the next available candidate (FMR0.FRS). In the synchronous state the framing bits (FAS bits) are observed. The following conditions selected by FMR4.SSC1/0 lead to the asynchronous state: * two errors within 4/5 framing bits
Data Sheet 142 2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 * two or more erroneous framing bits within one ESF multiframe * 4 incorrect (1 out of 6) consecutive multiframes independent of CRC6 errors. There are four multiframe synchronization modes selectable via FMR2.MCSP and FMR2.SSP. * FMR2.MCSP/SSP = 00 In the synchronous state, the setting of FMR0.FRS or FMR0.EXLS resets the synchronizer and initiates a new frame search. The synchronous state is reached again, if there is only one definite framing candidate. In the case of repeated apparent simulated candidates, the synchronizer remains in the asynchronous state. In asynchronous state, setting bit FMR0.FRS induces the synchronizer to lock onto the next available framing candidate if there is one. At the same time the internal framing pattern memory is cleared and other possible framing candidates are lost. * FMR2.MCSP/SSP = 01 Synchronization is achieved when 3 consecutive multiframe pattern are correctly found independent of the occurrence of CRC6 errors. If only one or two consecutive multiframe pattern were detected the FALC(R)-LH stays in the asynchronous state, searching for a possible additionally available framing pattern. This procedure is repeated until the framer has found three consecutive multiframe pattern in a row. * FMR2.MCSP/SSP = 10 This mode has been added in order to be able to choose multiple framing pattern candidates step by step. I.e. if in synchronous state the CRC error counter indicates that the synchronization might have been based on an alias framing pattern, setting of FMR0.FRS leads to synchronization on the next candidate available. However, only the previously assumed candidate is discarded in the internal framing pattern memory. The latter procedure can be repeated until the framer has locked on the right pattern (no extensive CRC errors). The synchronizer is completely reset and initiates a new frame search, if there is no multiframing found. In this case bit FSR0.FSRF toggles. * FMR2.MCSP/SSP = 11 Synchronization including automatic CRC6 checking Synchronization is achieved when framing pattern are correctly found and the CRC6 checksum is received without an error. If the CRC6 check failed on the assumed framing pattern the FALC(R)-LH stays in the asynchronous state, searching for a possible available framing pattern. This procedure is repeated until the framer has locked on the right pattern. This automatic synchronization mode has been added in order to reduce the microprocessor load.
Data Sheet
143
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.4.5.2
Remote Alarm (yellow alarm) Generation/Detection
Remote alarm (yellow alarm) is indicated by the periodical pattern `1111 1111 0000 0000 ...' in the DL bits. Remote alarm is declared even in the presence of BER 1/1000. The alarm is reset when the "yellow alarm pattern" no longer is detected. Depending on bit RC1.SJR the FALC(R)-LH generates and detect the Remote Alarm according to JT G. 704. In the DL-bit position 16 continuos "1" are transmitted if FMR0.SRAF=0 and FMR4.XRA=1. Alternatively remote alarm can be indicated by setting bit 2 of every time slot after selecting FMR0.SRAF = 1.
5.4.5.3
CRC6 Generation and Checking (T1/J1)
Generation and checking of CRC6 bits transmitted/received in the e1-e6 bit positions is done according to ITU-T G.706. The CRC6 checking algorithm is enabled via bit FMR1.CRC. If not enabled, all check bits in the transmit direction are set. In the synchronous state received CRC6 errors are accumulated in a 16 bit error counter and are additionally indicated by an interrupt status. * CRC6 Inversion If enabled by bit RC0.CRCI, all CRC bits of one outgoing extended multiframe are automatically inverted in case a CRC error is flagged for the previous received multiframe. Setting the bit RC0.XCRCI inverts the CRC bits before transmitted to the distant end. This function is logically ored with RC0.CRCI. * CRC6 Generation/Checking According to JT G. 706 Setting of RC1.SJR the FALC(R)-LH generates and check the CRC6 bits according to JT G. 706. The CRC6 checksum is calculated including the FS/DL bits. In synchronous state CRC6 errors increment an error counter.
5.4.6
72-Frame Multiframe (SLC96 Format, T1/J1)
The 72-multiframe is an alternate use of the FS-bit pattern and is used for carrying data link information. This is done by stealing some of redundant multiframing bits after the transmission of the 12-bit framing header (refer to Figure 36 on page 146). The position of A and B signaling channels (robbed bit signaling) is defined by zero-to-one and oneto-zero transitions of the FS bits and is continued when the FS bits are replaced by the data link bits. Remote Alarm (Yellow Alarm) is indicated by setting bit 2 to zero in each time slot. An additional use of the D bits for alarm indication is user defined and must be done externally.
Data Sheet
144
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.4.6.1
Synchronization Procedure
In the synchronous state terminal framing (FT bits) and multiframing (FS bits of the framing header) are observed independently. Further reaction on framing errors depends on the selected synchronization/resynchronization procedure (via bit FMR2.SSP): * FMR2.SSP = `0': terminal frame and multiframe synchronization are combined Two errors within 4/5/6 framing bits (via bits FMR4.SSC1/0) of one of the above lead to the asynchronous state for terminal framing and multiframing. Additionally to the resynchronization procedure starts with synchronizing upon the terminal framing. If the pulse framing has been regained, the search for multiframe alignment is initiated. Multiframe synchronization has been regained after two consecutive correct multiframe patterns have been received. * FMR2.SSP = `1': terminal frame and multiframe synchronization are separated Two errors within 4/5/6 terminal framing bits lead to the same reaction as described above for the "combined" mode. Two errors within 4/5/6 multiframing bits lead to the asynchronous state only for the multiframing. Loss of multiframe alignment is reported via bit FRS0.LMFA. The state of terminal framing is not influenced. Now, the resynchronization procedure includes only the search for multiframe alignment. Multiframe synchronization has been regained after two consecutive correct multiframe patterns have been received.
Data Sheet
145
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
*
Table 36
72-Frame Multiframe Structure (T1/J1) FT 1 - 0 - 1 - 0 - 1 - 0 - 1 - 0 - 1 - 0 - 1 - 0 - 1 - * * 1 - 0 - 1 - 0 - FS - 0 - 0 - 0 - 1 - 1 - 1 - 0 - 0 - 0 - 1 - 1 - 1 - D * * - D - D - D - D Signaling Channel Designation B
Frame Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 * 66 67 68 69 70 71 72
A
B
A
B
A
Data Sheet
146
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.4.7
Table 37 Format F4
Summary of Frame Conditions (T1/J1)
Summary Frame Recover/Out of Frame Conditions (T1/J1) Frame Recover Condition Out of Frame Condition only one FT pattern found, optional 2 out of 4/5/6 incorrect FT bits forcing on next available FT framing candidate FMR2.SSP = 0: Combined FT + FS framing search: First searching for FT pattern with optional forcing on next available framing candidates and then for 2 consecutive correct FS pattern1). FMR2.SSP = 1: Separated FT + FS pattern search: Loss of FT framing at first starts searching for FT and then for 2 consecutive correct FS pattern1). Loss of FS framing starts only the FS pattern1). search. FMR2.MCSP/SSP = 00: only one FAS pattern found, optional forcing on next available FAS framing candidate with discarding of all remaining framing candidates. FMR2.MCSP/SSP = 01: 3 consecutive correct multiframing found independent of CRC6 errors. FMR2.MCSP/SSP = 10: choosing multiple framing pattern step by step, optional forcing on next available FAS framing pattern with discarding only of the previous assumed framing candidate. FMR2.MCSP/SSP = 11: FAS framing correctly found and CRC6 check error free. FMR2.SSP=0 : 2 out of 4/5/6 incorrect FT or FS bits FMR2.SSP= 1 : 2 out of 4/5/6 incorrect FT bits search FT and FS framing bits, 2 out of 4/5/6 incorrect FS bits search only the FS framing.
F12 (D4) and F72 (SLC96)
F24 (ESF)
2 out of 4/5 incorrect FAS bits or 2 out of 6 incorrect FAS bits per multiframe or 4 consecutive incorrect multiframing pattern
1)
In F12 (D4) format bit 1 in frame 12 is excluded from the synchronization process, if FMR0.SRAF = 1.
Data Sheet
147
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.5 5.5.1
Additional Functions (T1/J1) Error Performance Monitoring and Alarm Handling
Alarm Indication Signal: Detection and recovery is flagged by bit FRS0.AIS and ISR2.AIS. Transmission is enabled via bit FMR1.XAIS. Loss of Signal: Detection and recovery is flagged by bit FRS0.LOS and ISR2.LOS. Remote Alarm Indication: Detection and release is flagged by bit FRS0.RRA and ISR2.RA/RAR. Transmission is enabled via bit FMR4.XRA. Excessive Zeros: Detection is flagged by bit FRS1.EXZD. Pulse Density Violation: Detection is flagged by bit FRS1.PDEN and ISR0.PDEN. Transmit Line Shorted: Detection and release is flagged by bit FRS1.XLS and ISR1.XLSC. Transmit Ones Density: Detection and release is flagged by bit FRS1.XLO and ISR1.XLSC.
*
Table 38 Alarm Red Alarm or Loss of Signal (LOS)
Summary of Alarm Detection and Release (T1/J1) Detection Condition no transitions (logical zeros) in a programmable time interval of 16 to 4096 consecutive pulse periods programmable receive input signal threshold Clear Condition programmable number of ones (1-256) in a programmable time interval of 16 to 4096 consecutive pulse periods. A one is a signal with a level above the programmed threshold. or optionally the pulse density is fulfilled and no more than 15 or 99 contiguous zeros during the recovery interval are detected.
Blue Alarm or Alarm Indication Signal (AIS)
active for at least one multiframe. FMR4.AIS3 = 0: less than 3 zeros in 12 frames or FMR4.AIS3 = 0: more than 2 zeros in 12 or 24 24 frames (ESF), frames (ESF), FMR4.AIS3 = 1: less than 4 zeros in 12 frames or less than 6 zeros in 24 frames (ESF) FMR4.AIS3 = 1: more than 3 zeros in 12 frames or more than 5 zeros in 24 frames (ESF)
Data Sheet
148
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1 Table 38 Alarm Yellow Alarm or Remote Alarm (RRA) Summary of Alarm Detection and Release (T1/J1) (cont'd) Detection Condition RC1.RRAM = 0: bit 2 = 0 in 255 consecutive time slots or FS bit = 1 of frame12 in F12 (D4) format or 8x1,8x0 in the DL channel (ESF ) RC1.RRAM = 1: bit 2 = 0 in every time slot per frame or FS bit = 1 of frame12 in F12 (D4) format or 8x1,8x0 in the DL channel (ESF ) more than 7 (B8ZS code) or more than 15 (AMI code) contiguous zeros less than 23 ones received in a floating time window of 192 bits or more than 15 consecutive zeros (see Chapter 5.5.9) If XL1 and XL2 are shortened for at least 32 pulses; pins XL1 and XL2 are forced into a high impedance state automatically, if bit XPM2.DAXLT is reset. After 32 consecutive pulse periods the outputs XL1/2 are activated again and the internal transmit current limiter is checked. If a short between XL1/ 2 is still existing, the outputs XL1/ 2 are switched into high impedance state again. When the short disappears pins XL1/2 are activated automatically. Cleared with each transmitted pulse Clear Condition RC1.RRAM = 0: set conditions no longer detected. RC1.RRAM = 1: bit 2 = 0 not detected in 3 consecutive frames or FS bit not detected in 3 consecutive multiframes or 8x1,8x0 not detected for 3 times in a row (ESF). Latched Status: cleared on read
Excessive Zeros (EXZD) Pulse Density Violation (PDEN)
Transmit Line Short (XLS)
Transmit Ones Density (XLO)
32 consecutive zeros in the transmit data stream on XL1/2
RRA detection operates in the presence of 10-3 bit error rate.
Data Sheet
149
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.5.2
Auto Modes
* Automatic remote alarm (Yellow Alarm) access If the receiver has lost its synchronization (FRS0.LFA) a remote alarm (yellow alarm) can be sent to the distant end automatically, if enabled by bit FMR2.AXRA. In synchronous state the remote alarm bit is removed. * Automatic AIS to system interface In asynchronous state the synchronizer enforces an AIS to the receive system interface automatically. However, received data may be switched through transparently if bit FMR2.DAIS is set. * Automatic clock source switching In Slave mode (LIM0.MAS = 0) the DCO-R synchronizes to the recovered route clock. In case of Loss of Signal LOS the DCO-R switches to Master mode automatically. * Automatic freeze signaling: Updating of the received signaling information is controlled by the freeze signaling status. Optionally automatic freeze signaling can be disabled by setting bit SIC3.DAF.
5.5.3
Error Counter
The FALC(R)-LH offers five error counters where each of them has a length of 16 bit. They record code violations, framing bit errors, CRC6 bit errors, errored blocks and PRBS bit errors. Each of the error counters is buffered. Updating the buffer is done in two modes: * one second accumulation * on demand via handshake with writing to the DEC register In the one second mode an internal one second timer updates these buffers and reset the counter to accumulate the error events in the next one second period. The error counter can not overflow. Error events occurring during reset are not lost.
5.5.4
Errored Second
(R)
The FALC -LH supports the error performance monitoring by detecting the following alarms or error events in the received data: framing errors, CRC errors, code violations, loss of frame alignment, loss of signal, alarm indication signal, receive and transmit slips. With a programmable interrupt mask register IMR4 all these alarms or error events can generate an Errored Second Interrupt (ISR3.ES) if enabled.
5.5.5
Second Timer
Additionally a one second timer interrupt is generated internally to indicate that the enabled alarm status bits or the error counters have to be checked. The timing is derived from RCLK.
Data Sheet
150
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.5.6
Clear Channel Capability
For support of common T1 applications, clear channels can be specified via the 3-byte register bank CCB1 ... CCB3. In this mode the contents of selected transmit time slots are not overwritten by internally or externally sourced bit-robbing and zero code suppression (B7 stuffing) information. Remote alarm signaling, however, overwrites cleared channels.
5.5.7
In-Band Loop Generation and Detection
(R)
The FALC -LH generates and detects a framed or unframed in-band loop-up/activate (00001) and loop-down/deactivate (001) pattern according to ANSI T1. 403 with bit error rates as high as 1/100. Framed or unframed in-band loop code is selected by LCR1.FLLB. Replacing the in-band loop codes with transmit data is done by FMR5.XLD/ XLU. The FALC(R)-LH also offers the ability generating and detecting of a flexible in-band loop up - and down pattern (LCR1.LLBP = 1). The loop up and loop down pattern is individual programmable from 2 to 8 bit in length (LCR1.LAC1/0 and LCR1.LDC1/0). Programming of loop codes is done in registers LCR2 and LCR3. Status and interrupt-status bits inform the user whether a loop-up or loop-down code was detected.
5.5.8
Transparent Mode
The transparent modes are useful for loopbacks or for routing data unchanged through the FALC(R)-LH. In receive direction, transparency for ternary or dual/single rail unipolar data is achieved if the receiver is in the synchronous state and FMR5.RTF has been selected. All bits in F-bit position of the incoming multiframe are forwarded to RDO and inserted in the FS/ DL time slot or in the F-bit position. In asynchronous state the received data may be transparently switched through if bit FMR2.DAIS is set. Setting of bit LOOP.RTM disconnects control of the elastic buffer from the receiver. The elastic buffer is now in a "free running" mode without any possibility to update the time slot assignment to a new frame position in case of re-synchronization of the receiver. Together with FMR2.DAIS this function may be used to realize undisturbed transparent reception. Setting bit FMR4.TM switches the FALC(R)-LH in transmit transparent mode: In transmit direction bit 8 of the FS/DL time slot from the system highway (XDI) is inserted in the F-bit position of the outgoing frame. For complete transparency the internal signaling controller, IDLE code generation, AIS/RA alarm generation, single channel and payload loop back has to be disabled and "Clear Channels" have to be defined via registers CCB1...3.
Data Sheet
151
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.5.9
Pulse Density Detection
(R)
The FALC -LH examines the receive data stream on the pulse density requirement which is defined by ANSI T1. 403. More than 15 consecutive zeros or less than 23 ones in each and every time window of 193 data bits are detected. Violations of these rules are indicated by setting the status bit FRS1.PDEN and the interrupt status bit ISR0.PDEN. Generation of the interrupt status may be programmed either with the detection or with any change of state of the pulse density alarm (GCR.SCI).
5.6 5.6.1
(R)
Test Functions (T1/J1) Pseudo-Random Bit Sequence Generation and Monitor
The FALC -LH has the ability to generate and monitor a 215-1 and 220-1 pseudo-random bit sequences (PRBS). The generated PRBS pattern is transmitted optionally inverted or not to the remote end via pins XL1/2 or XDOP/N. Generating and monitoring of PRBS pattern is done according to ITU-T O. 151 and TR62411 with maximum 14 consecutive zero restriction. The PRBS monitor senses the PRBS pattern in the incoming data stream. Synchronization is done on the inverted and non inverted PRBS pattern. The current synchronization status is reported in status and interrupt status registers. Enabled by bit LCR1.EPRM each PRBS bit error increments an error counter (BEC). Synchronization is reached within 400 ms with a probability of 99.9% and a BER of 1/10 (pattern defined by ITU-T O.151).
Data Sheet
152
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.6.2
Remote Loop
In the remote loopback mode the clock and data recovered from the line inputs RL1/2 or RDIP/RDIN are routed back to the line outputs XL1/2 or XDOP/XDON via the analog or digital transmitter. As in normal mode they are also processed by the synchronizer and then sent to the system interface.The remote loopback mode is selected by setting the respective control bits LIM1.RL+JATT. Received data may be looped with or without the transmit jitter attenuator (FIFO).
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
RDO
FIFO
XL1 XL2
MUX
Trans. Framer
Elast. Store
XDI
MUX XCLK
RCLK
DCO-R/DCO-X DCO1/2
ITS09750
Figure 52
Remote Loop (T1/J1)
Data Sheet
153
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.6.3
Payload Loop Back
To perform an effective circuit test a line loop is implemented. If the payload loopback (FMR2.PLB) is activated the received 192 bits of payload data is looped back to the transmit direction. The framing bits, CRC6 and DL bits are not looped, if FMR4.TM = 0. They are originated by the FALC(R)-LH transmitter. If FMR4.TM= 1 the received FS/DL bit is sent transparently back to the line interface. Following pins are ignored: XDI, XSIG, SCLKX, SYPX and XMFS. All the received data is processed normally. With bit FMR2.SAIS an AIS can be sent to the system interface via pin RDO.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
AIS-GEN MUX RDO
SCLKR XL1 XL2 Trans. Framer Elast. Store XDI SCLKX
ITS09748
Figure 53
Payload Loop (T1/J1)
Note: Returned data is not multiframe synchronous.
Data Sheet
154
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.6.4
Local Loop
The local loopback mode, selected by LIM0.LL = 1, disconnects the receive lines RL1/2 or RDIP/RDIN from the receiver. Instead of the signals coming from the line the data provided by system interface are routed through the analog receiver back to the system interface. The bit stream is transmitted on the line undisturbedly. However, an AIS to the distant end can be enabled by setting FMR1.XAIS without influencing the data looped back to the system interface. Note that enabling the local loop usually invokes an out of frame error until the receiver can resynchronize to the new framing. The serial codes for transmitter and receiver have to be identical. In digital interface NRZ mode, a clock must be provided on pin RCLKI (=RL2) to enable switching into local loop mode.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer Elast. Store
RDO
XL1 XL2
MUX AIS-GEN
Trans. Framer
Elast. Store
XDI
ITS09749
Figure 54
Local Loop (T1/J1)
Data Sheet
155
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.6.5
Single Channel Loop Back (loopback of time slots)
The channel loopback is selected via LOOP.ECLB = 1. Each of the 24 time slots may be selected for loopback from the system PCM input (XDI) to the system PCM output (RDO). This loopback is programmed for one time slot at a time selected by register LOOP. During loopback, an idle channel code programmed in register IDLE is transmitted to the remote end in the corresponding PCM route time slot. For the time slot test, sending sequences of test patterns like a 1 kHz check signal should be avoided. Otherwise, an increased occurrence of slips in the tested time slot disturbs testing. These slips do not influence the other time slots and the function of the receive memory. The usage of a quasi-static test pattern is recommended.
RCLK RL1 RL2 Clock + Data Recovery Rec. Framer MUX Elast. Store
RDO
XL1 XL2
Trans. Framer
MUX
Elast. Store IDLE Code
XDI
ITS09747
Figure 55
Channel Loopback (T1/J1)
Data Sheet
156
2000-07
PEB 2255 FALC-LH V1.3
Functional Description T1/J1
5.6.6
Alarm Simulation (T1/J1)
Alarm simulation does not affect the normal operation of the device, i.e. all time slots remain available for transmission. However, possible "real" alarm conditions are not reported to the processor or to the remote end when the device is in the alarm simulation mode. The alarm simulation is initiated by setting the bit FMR0.SIM. The following alarms are simulated: * * * * * * * * Loss of Signal (red alarm) Alarm Indication Signal AIS (blue alarm) Loss of pulse frame Remote alarm (yellow alarm) indication Receive and transmit slip indication Framing error counter Code violation counter CRC6 error counter
Some of the above indications are only simulated if the FALC(R)-LH is configured in a mode where the alarm is applicable. The alarm simulation is controlled by the value of the Alarm Simulation Counter: FRS2.ESC which is incremented by setting bit: FMR0.SIM. Clearing of alarm indications: * Automatically for LOS, remote (yellow) alarm, AIS, and loss of synchronization or * User controlled for slips by reading the corresponding interrupt status register ISR3 or * Error counter have been cleared by reading the corresponding counter registers. Clearing is only possible at defined counter steps of FRS2.ESC. For complete simulation (FRS2.ESC = 0), eight simulation steps are necessary.
Data Sheet
157
2000-07
PEB 2255 FALC-LH V1.3
Operational Description E1
6
6.1
Operational Description E1
Operational Overview E1
(R)
The FALC -LH in principle can be operated in two modes, which are either E1 mode or T1/J1 mode. The device is programmable via a microprocessor interface which enables byte or word access to all control and status registers. After reset the FALC(R)-LH must be initialized first. General guidelines for initialization are described in sections "Device Initialization in E1 Mode" on page 158 and "Device Initialization in T1/J1 Mode" on page 163 The status registers are read-only and are updated continuously. Normally, the processor reads the status registers periodically to analyze the alarm status and signaling data.
6.2
Device Reset E1
The FALC(R)-LH is forced to the reset state if a high signal is input on pin RES for a minimum period of 20 s. During reset the FALC(R)-LH needs an active clocks on pins SCLKR, SCLKX, XTAL1 and XTAL3. All output stages except of CLK16M, CLK12M, CLK8M, CLKX, FSC, XCLK and RCLK are in a high impedance state, all internal flipflops are reset and most of the control registers are initialized with default values. SIgnals (for example RL1/2 receive line) should not be applied before the device is powered up. After reset the device is initialized to E1 operation.
6.3
Device Initialization in E1 Mode
After reset, the FALC(R)-LH is initialized for doubleframe format with register values listed in the following table. Table 39 Register FMR0 FMR1 FMR2 SIC1 SIC2 SIC3 Initial Values after Reset (E1) Reset Value Meaning 00H 00H 00H 00H 00H 00H NRZ coding, no alarm simulation;XL1/2 stay tristate PCM 30 - doubleframe format, 4.096 Mbit/s system data rate, no AIS transmission to remote end, payload loop off. 8.192-MHz system clocking rate, receive buffer 2 frames, transmit buffer bypass, automatic freeze signaling
Data Sheet
158
2000-07
PEB 2255 FALC-LH V1.3
Operational Description E1 Table 39 Register LOOP XSW XSP TSWM XC0 XC1 RC0 RC1 IDLE ICB 1 ... 4 LIM0 LIM1 PCD PCR XPM2...0 IMR0...4 RTR1...4 TTR1...4 MODE PRE RAH1/2 RAL1/2 Initial Values after Reset (E1) (cont'd) Reset Value Meaning 00H 40H 00H 00H 00H 9CH 00H 9CH 00H 00H 00H 00H 00H 00H 7BH,03H,00H Channel loop back and single frame mode are disabled. All bits of the transmitted service word are cleared (bit 2 excluded). Spare bit values are cleared. No transparent mode active. The transmit clock offset is cleared. The transmit time slot offset is cleared. The receive clock slot offset is cleared; 1st channel phase is active on PCM highway. The receive time slot offset is cleared. Idle channel code is cleared. Normal operation (no `Idle Channel' selected). Slave Mode, Local Loop off, CLKX=2.048 MHz active high, short haul mode, no LOS indication on RCLK Analog interface selected, Remote Loop off Pulse Count for LOS Detection cleared Pulse Count for LOS Recovery cleared Transmit Pulse Mask
FFH,FF H,FFH, All interrupts are disabled FFH,FF H, 00H,00H,00 H, 00H, 00H 00H FDH, FF H FFH, FF H No time slots selected Signaling controller disabled Preamble cleared Compare register for receive address cleared
E1 Initialization For a correct start up of the Primary Access Interface a set of parameters specific to the system and hardware environment must be programmed after reset goes inactive. Both the basic and the operational parameters must be programmed before the activation procedure of the PCM line starts. Such procedures are specified in ITU-T and ETSI recommendations (e.g. fault conditions and consequent actions). Setting optional parameters primarily makes sense when basic operation via the PCM line is guaranteed. Table 40 gives an overview of the most important parameters in terms of signals and control bits which are to be programmed in one of the above steps. The sequence is recommended but not mandatory. Accordingly, parameters for the basic and operational
Data Sheet
159
2000-07
PEB 2255 FALC-LH V1.3
Operational Description E1 set up, for example, may be programmed simultaneously. The bit FMR1.PMOD should always be kept low (otherwise T1/J1 mode is selected). Table 40 Basic Set Up Mode Select Specification of Line interface and clock generation Line interface coding Loss of Signal detection/recovery conditions System interface mode Transmit offset counters Receive offset counters AIS to system interface Operational Set Up Select framing Framing additions Synchronization mode Signaling mode Initialization Parameters (E1) E1 FMR1.PMOD = 0 LIM0, LIM1, XPM2...0 FMR0.XC1/0, FMR0.RC1/0 PCD, PCR, LIM1, LIM2 FMR1.IMOD XC0.XCO, XC1.XTO RC0.RCO, RC1.RTO FMR2.DAIS/SAIS E1 FMR2.RFS1/0, FMR1.XFS RC1.ASY4, RC1.SWD FMR1.AFR, FMR2.ALMF XSP, XSW, FMR1.ENSA, XSA8...4, TSWM, MODE, CCR1, CCR3, PRE, RAH1/2, RAL1/2
Features like channel loop back, idle channel activation, extensions for signaling support, alarm simulation, ... may be activated later. Transmission of alarms (e.g. AIS, remote alarm) and control of synchronization in connection with consequent actions to remote end and internal system depend on the activation procedure selected.
Note: Read access to unused register addresses: value should be ignored. Write access to unused register addresses: should be avoided, or set to `00' hex. All control registers (except XFIFO, XS1-16, CMDR, DEC) are of type: Read/ Write.
Specific E1 Register Settings The following is a suggestion for a basic initialization to meet most of the E1 requirements. Depending on different applications and requirement any other initialization can be used.
Data Sheet
160
2000-07
PEB 2255 FALC-LH V1.3
Operational Description E1
*
Table 41 Register FMR0.XC0 FMR0.RC0 LIM1.DRS FMR3.CMI PCD = 0AH PCR = 15H
Line Interface Initialization (E1) Function The FALC (R)-LH supports requirements for the analog line interface as well as the digital line interface. For the analog line interface the codes AMI and HDB3 are supported. For the digital line interface modes (dual or single rail) the FALC(R)-LH supports AMI, HDB3, CMI (with and without HDB3 precoding) and NRZ. LOS detection after 176 consecutive "zeros" (fulfills G.775 spec). LOS recovery after 22 "ones" in the PCD interval. (fulfills G.775). LOS threshold (fulfills G.775; see DC characteristics)
LIM1.RIL2-0 = 03H
E1 Framer Initialization The selection of the following modes during the basic initialization supports the ETSI requirements for E-Bit Access, Remote Alarm and Synchronization (please refer also to FALC(R)-LH driver code of the Reference System EASY2255-R1 and application notes) and helps to reduce the software load. They are very helpful especially to meet requirements as specified in ETS300 011. Table 42 Register XSP.AXS = 1 Framer Initialization (E1) Function ETS300 011 C4.x for instance requires the sending of E-Bits in TS0 if CRC4 errors have been detected. By programming XSP.AXS = 1 the submultiframe status is inserted automatically in the next outgoing multiframe. If the FALC(R)-LH has reached asynchronous state the E-Bit is cleared if XSP.EBP = 0 and set if XSP.EBP = 1. ETS300 011 requires that the E-Bit is set in asynchronous state. The transmission of RAI via the line interface is done automatically by the FALC (R)-LH in case of Loss of Frame Alignment (FRS0.LFA = 1). If basic framing has been reinstalled RAI is automatically reset.
XSP.EBP = 1
FMR2.AXRA = 1
FMR2.FRS1/2 = 10 In this mode a search of double framing is automatically reinitiated FMR1.AFR = 1 if no CRC4 multiframing could be found within 8ms. Together with FMR2.AXRA = 1 this mode is essential to meet ETS300 011 and reduces the processor load heavily.
Data Sheet
161
2000-07
PEB 2255 FALC-LH V1.3
Operational Description E1 Table 42 Register FMR2.ALMF = 1 Framer Initialization (E1) (cont'd) Function The receiver initiates a new basic- and multiframing research if more than 914 CRC4 errors have been detected in one second.
FMR2.FRS1/0 = 11 In the interworking mode the FALC(R)-LH stays in double framing format if no multiframe pattern could be found in a time interval of 400 ms. This is also indicated by a 400 ms interrupt. Additionally the extended interworking mode (FMR3.EXTIW = 1) will activate after 400 ms the remote alarm (FMR2.AXRA = 1) and will still search the multiframing without switching completely to the double framing. A complete resynchronization in an 8 ms interval is not initiated. Table 43 Register MODE = 88H CCR1 = 18H IMR0.RME = 0 IMR0.RPF = 0 IMR1.XPR = 0 RTR3.TS16 = 1 TTR3.TS16 = 1 Table 44 Register XSP.CASEN = 1 IMR0.CASC = 0
*
HDLC Controller Initialization (E1) Function HDLC Receiver active, no address comparison. Enable Signaling via TS0...31, Interframe Time Fill with continuous FLAGs. Unmask interrupts for HDLC processor requests.
Select TS16 for HDLC data reception and transmission.
CAS-CC Initialization (E1) Function Send CAS info stored in the XS1...16 registers. Enable interrupt with any data change in the RS1...16 registers.
Note: After the device initialization a software reset should be executed by setting of bits CMDR.XRES/RRES.
Data Sheet
162
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1
7
7.1
Operational Description T1/J1
Operational Overview T1/J1
(R)
The FALC -LH in principle can be operated in two modes, which are either E1 mode or T1/J1 mode. There are only minor differences between T1 and J1 mode which are described in Table 48. The device is programmable via a microprocessor interface which enables byte or word access to all control and status registers. After reset the FALC(R)-LH must be initialized first. General guidelines for initialization are described in sections "Device Initialization in E1 Mode" on page 158 and "Device Initialization in T1/J1 Mode" on page 163 The status registers are read-only and are updated continuously. Normally, the processor reads the status registers periodically to analyze the alarm status and signaling data.
7.2
Device Reset T1/J1
(R)
The FALC -LH is forced to the reset state if a high signal is input on pin RES for a minimum period of 20 s. During reset the FALC(R)-LH needs an active clocks on pins SCLKR, SCLKX, XTAL1 and XTAL3. All output stages except of CLK16M, CLK12M, CLK8M, CLKX, FSC, XCLK and RCLK are in a high impedance state, all internal flipflops are reset and most of the control registers are initialized with default values. SIgnals (for example RL1/2 receive line) should not be applied before the device is powered up. After reset the device is initialized to E1 operation. Switching to T1/J1 mode is done by software (FMR1.PMOD = 1).
7.3
Device Initialization in T1/J1 Mode
After reset, the FALC(R)-LH is initialized for E1 doubleframe format. To initialize T1/J1 mode, bit FMR1.PMOD has to be set high. After the internal clocking is settled to T1/ J1mode (takes up to 20 s), the following register values are initialized:
Data Sheet
163
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1
.
Table 45 Register FMR0 FMR1 FMR2 SIC1 SIC2, SIC3 LOOP FMR4 FMR5
Initial Values after reset and FMR1.PMOD = 1 (T1/J1) Initiated Value 00H 10H 00H 00H 00H 00H 00H 00H 00H Meaning NRZ coding, no alarm simulation; XL1/2 stay tristate PCM 24 mode, 4.096 Mbit/s system data rate, no AIS transmission to remote end or system interface, payload loop off, channel translation mode 0 8.192-MHz system clocking rate, Receive Buffer 2 Frames, Transmit Buffer bypass, Automatic freeze signaling, data is active in the first channel phase Channel loop back is disabled. Remote alarm indication towards remote end disabled. LFA condition: 2 out of 4 framing bits, Non-autosynchronization mode, F12 multiframing, internal bitrobbing access disabled The transmit clock slot offset is cleared. The transmit time slot offset is cleared. The receive clock slot offset is cleared. The receive time slot offset is cleared. Idle channel code is cleared. Normal operation (no "Idle Channels" selected). Normal operation (no clear channel operation). Slave Mode, Local Loop off, CLKX=2.048 MHz active high, short haul mode, no LOS indication on RCLK Analog interface selected, Remote Loop off Pulse Count for LOS Detection cleared Pulse Count for LOS Recovery cleared All interrupts are disabled No time slots selected Signaling controller disabled Compare register for receive address cleared
XC0 XC1 RC0 RC1 IDLE ICB 1 ... 3 CCB 1 ... 3 LIM0 LIM1
00H 9CH 00H 9CH 00H 00H 00H 00H 00H
PCD PCR XPM2...0 IMR0-4 RTR1-4 TTR1-4 MODE RAH1/2 RAL1/2
00H 00H FFH 00H 00H FDH,FFH FFH,FFH
7BH,03H,00H Transmit Pulse Mask
Data Sheet
164
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1 T1/J1 Initialization For a correct start up of the Primary Access Interface a set of parameters specific to the system and hardware environment must be programmed after pin RES goes inactive (low). Both the basic and the operational parameters must be programmed before the activation procedure of the PCM line starts. Such procedures are specified in ITU-T recommendations (e.g. fault conditions and consequent actions). Setting optional parameters primarily makes sense when basic operation via the PCM line is guaranteed. Table 46 gives an overview of the most important parameters in terms of signals and control bits which are to be programmed in one of the above steps. The sequence is recommended but not mandatory. Accordingly, parameters for the basic and operational set up, for example, may be programmed simultaneously. The bit FMR1.PMOD must always be kept high (otherwise E1 mode is selected). Features like channel loop back, idle channel activation, clear channel activation, extensions for signaling support, alarm simulation, ... may be activated later. Transmission of alarms (e.g. AIS, remote alarm) and control of synchronization in connection with consequent actions to remote end and internal system depend on the activation procedure selected. Table 46 Basic Set Up Mode Select Specification of Line interface and clock generation Line interface coding Loss of Signal detection/recovery conditions System interface mode Channel translation mode Transmit offset counters Receive offset counters AIS to system interface Operational Set Up Select framing Framing additions Synchronization mode Signaling mode Initialization Parameters (T1/J1) T1/J1 FMR1.PMOD = 1 LIM0, LIM1, XPM2-0 FMR0.XC1/0, FMR0.RC1/0 PCD, PCR, LIM1, LIM2 FMR1.IMOD FMR1.CTM XC0.XCO, XC1.XTO RC0.RCO, RC1.RTO FMR2.DAIS/SAIS T1/J1 FMR4.FM1/0 FMR1.CRC, FMR0.SRAF FMR4.AUTO, FMR4.SSC1/0, FMR2.MCSP, FMR2.SSP FMR1.SIGM, FMR5.EIBR, XC0.BRM, MODE, CCR1, CCR3, RAH1/2, RAL1/2
Data Sheet
165
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1
Note: Read access to unused register addresses: value should be ignored. Write access to unused register addresses: should be avoided, or set to `00'hex. All control registers (except XFIFO, XS1-12, CMDR, DEC) are of type: Read/Write
Specific T1/J1 Initialization The following is a suggestion for a basic initialization to meet most of the T1/J1 requirements. Depending on different applications and requirements any other initialization can be used. Table 47 Register FMR0.XC0/1 FMR0.RC0/1 LIM1.DRS CCB1-3 PCD = 0x0A PCR = 0x15 LIM1.RIL20 = 0x03 GCR.SCI = 1 LIM2.LOS2/1 = 01 Line Interface Initialization (T1/J1) Function The FALC(R)-LH supports requirements for the analog line interface as well as the digital line interface. For the analog line interface the codes AMI (with bit 7stuffing) and B8ZS are supported. For the digital line interface modes (dual or single rail) the FALC(R)-LH supports AMI (with bit 7 stuffing) and B8ZS. LOS detection after 176 consecutive "zeros" (fulfills G.775 spec, Bellcore/AT&T) LOS recovery after 22 "ones" in the PCD interval. (fulfills G.775, Bellcore/AT&T) LOS threshold (fulfills G.775, see DC characteristics). Additional Recovery Interrupts. Help to meet alarm activation and deactivation conditions in time. Automatic pulse density check on 15 consecutive zeros for LOS recovery condition (Bellcore requirement)
Table 48 Register
Framer Initialization (T1/J1) Function T1 J1 Selection of framing sync conditions Select framing format The transmission of RAI via the line interface is done automatically by the FALC (R)-LH in case of Loss of Frame Alignment (FRS0.LFA = 1). If framing has been reinstalled RAI is automatically reset
FMR4.SSC1/0 FMR4.FM1/0 FMR2.AXRA = 1
Data Sheet
166
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1 Table 48 Register T1 RCO.SJR = 1 FMR0.SRAF = 0 XSW.XRA = 1 RCO.SJR1) = 0 RCO.SJR1) = 1 FMR4.AUTO = 1 CRC6 calculation without FS/DL bits CRC6 calculation including FS/ DL bits Automatic synchronization in case of definite framing candidate (FRS0.FSRF). In case of multiple framing candidates and CRC6 errors different resynchronization conditions can be programmed via FMR2.MCSP/SSP. Synchronization and resynchronization conditions, for details see register description.
1)
Framer Initialization (T1/J1) (cont'd) Function J1 Remote alarm handling via DLchannel according to ITU-T JG.704 using pattern "1111111111111111"
FMR4.SSC1 = 1 FMR4.SSC0 = 1 FMR2.MCSP = 0 FMR2.SSP = 1
1)
Remote alarm handling and CRC6 calculation are commonly selected by bit RCO.SJR
Table 49 Register MODE = 88H CCR1 = 18H
Initialization of the HDLC controller (T1/J1) Function HDLC Receiver active, No address comparison Enable Signaling via time slot 0...31, Interframe Time Fill with continuous FLAGs Select interrupts for HDLC processor requests
IMR0.RME = 0 IMR0.RPF = 0 IMR1.XPR = 0 RTR4.0 = 1 TTR4.0 = 1
Select time slot 24 for HDLC data reception and transmission
Data Sheet
167
2000-07
PEB 2255 FALC-LH V1.3
Operational Description T1/J1 Table 50 Register FMR5.EIBR = 1 FMR1.SIGM = 1 IMR1.CASE = 0 IMR0.RSC = 0 Initialization of the CAS-BR Controller (T1/J1) Function Enable CAS-BR Mode Send CAS-BR information stored in XS1...12 Enable interrupts which indicate the access to the XS1...12 CASBR registers and any data change in RS1...12
Note: After the device initialization a software reset should be executed by setting of bits CMDR.XRES/RRES.
Data Sheet
168
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8
Signaling Controller Operating Modes
The HDLC controller can be programmed to operate in various modes, which are different in the treatment of the HDLC frame in receive direction. Thus, the receive data flow and the address recognition features can be performed in a very flexible way, to satisfy almost any practical requirements. There are 4 different operating modes which can be set via the MODE register.
8.1
HDLC Mode
All frames with valid addresses are forwarded directly via the RFIFO to the system memory. Depending on the selected address mode, the FALC(R)-LH can perform a 1 or 2 byte address recognition (MODE.MDS0). If a 2-byte address field is selected, the high address byte is compared with the fixed value FEH or FCH (group address) as well as with two individually programmable values in RAH1 and RAH2 registers. According to the ISDN LAPD protocol, bit 1 of the high byte address is interpreted as command/response bit (C/R) and is excluded from the address comparison to RAH1. Similarly, two compare values can be programmed in special registers (RAL1, RAL2) for the low address byte. A valid address is recognized in case the high and low byte of the address field correspond to one of the compare values. Thus, the FALC(R)-LH can be called (addressed) with 6 different address combinations. HDLC frames with address fields that do not match any of the address combinations, are ignored by the FALC(R)-LH. In case of a 1-byte address, RAL1 and RAL2 are used as compare registers. The HDLC control field, data in the I-field and an additional status byte are temporarily stored in the RFIFO. Additional information can also be read from a special register (RSIS). As defined by the HDLC protocol, the FALC(R)-LH performs the zero bit insertion/deletion (bit-stuffing) in the transmit/receive data stream automatically. That means, it is guaranteed that at least a "0" will appear after 5 consecutive "1"s.
8.1.1
Non-Auto-Mode (MODE.MDS2...1 = 01)
Characteristics: address recognition, FLAG - and CRC generation/check, bit-stuffing All frames with valid addresses are forwarded directly via the RFIFO to the system memory.
8.1.2
Transparent Mode 1 (MODE.MDS2...0 = 101)
Characteristics: address recognition, FLAG - and CRC generation/check, bit-stuffing Only the high byte of a 2-byte address field is compared with registers RAH1/2. The whole frame excluding the first address byte is stored in RFIFO.
Data Sheet 169 2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8.1.3
Transparent Mode 0 (MODE.MDS2...0 = 100)
Characteristics: FLAG and CRC generation/check, bit-stuffing No address recognition is performed and each frame is stored in the RFIFO.
8.1.4
Receive Data Flow
The following figure gives an overview of the management of the received HDLC frames in the different operating modes.
FLAG MODE.MDS(2:0)
ADDR RAH1,2 RAL1,2
CTRL
DATA 1) RFIFO
CRC
FLAG
0
1
1
Non-Auto/16
2)
2) RSIS
RAH1,2 0 1 0 Non-Auto/8 2)
X RFIFO
1)
RSIS
RAH1,2 RFIFO 1 0 1 Transparent 1 2)
1)
RSIS
1) RFIFO 1 0 0 Transparent 0 RSIS
Description of Symbols: compared with register stored in FIFO or register
In case of 8-bit address the control field starts here 1) CRC is optionally stored in RFIFO if CCR3.RCRC = 1 2) Address is optionally stored in RFIFO if CCR3.RADD = 1 F0225
Figure 56
HDLC Receive Data Flow of FALC(R)-LH
Data Sheet
170
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8.1.5
Transmit Data Flow
The frames can be transmitted as shown below.
FLAG
ADDR ADDRESS
CTRL CONTROL XFIFO
DATA
CRC CHECKRAM
FLAG
Transmit HDLC Frame (XHF)
ITD06456
Figure 57
HDLC Transmit Data Flow of FALC (R)-LH
Transmitting a HDLC frame via register CMDR.XHF, the address, the control fields and the data field have to be entered in the XFIFO. If CCR3.XCRC is set, the CRC checksum will not be generated internally. The checksum has to be provided via the transmit FIFO (XFIFO) as the last two bytes. The transmitted frame is closed automatically with a closing flag only. The FALC(R)-LH does not check whether the length of the frame, i.e. the number of bytes to be transmitted makes sense or not.
8.2
Extended Transparent Mode
Characteristics: fully transparent In no HDLC mode, fully transparent data transmission/reception without HDLC framing is performed, i.e. without FLAG generation/recognition, CRC generation/check, or bitstuffing. This feature can be profitably used e.g. for: * Specific protocol variations * Transmission of a BOM frame * Test purposes Data transmission is always performed out of the XFIFO. In transparent mode, the receive data is shifted into the RFIFO.
Data Sheet
171
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8.3 8.3.1
Signaling Controller Functions Shared Flags
The closing Flag of a previously transmitted frame simultaneously becomes the opening Flag of the following frame if there is one to be transmitted. The Shared Flag feature is enabled by setting bit SFLG in control register CCR1.
8.3.2
Preamble Transmission
If enabled via register CCR3, a programmable 8-bit pattern (defined by register PRE) is transmitted with a selectable number of repetitions after Interframe Timefill transmission is stopped and a new frame is ready to be sent. Zero bit insertion is disabled during preamble transmission. To guarantee correct function the programmed preamble value should be different to the Receive Address Byte values. Otherwise the preamble could be detected as valid address with shared flags. In BOM mode the MSB of the preamble should be reset in order to achieve a faster synchronization at the BOM receiver. After the preamble has been sent, the transmitter inserts one sync byte (FFH) automatically before sending the contents of the transmit FIFO.
8.3.3
Transparent Transmission and Reception
When programmed in the extended transparent mode via the MODE register (MDS2...0 = 111), the FALC(R)-LH performs fully transparent data reception without HDLC framing, i.e. without * FLAG deletion * CRC checking * Bit-stuffing In order to enable fully transparent data reception, bit MODE.HRAC has to be set and FFH has to be written to RAH2. Received data is always shifted into RFIFO. Data transmission is always performed out of XFIFO by shifting the contents of XFIFO directly into the outgoing data stream. Transmission is initiated by setting CMDR.XTF. A sync byte FFH is automatically sent before the first byte of the XFIFO is transmitted.
8.3.4
Cyclic Transmission (fully transparent)
If the extended transparent mode is selected, the FALC(R)-LH supports the continuous transmission of the contents of the transmit FIFO.
Data Sheet
172
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes After having written 1 to 32 bytes to XFIFO, the command XREP and XTF via the CMDR register (bit 7 ... 0 = `00100100' = 24H) forces the FALC(R)-LH to transmit the data stored in XFIFO repeatedly to the remote end.
Note: The cyclic transmission continues until a reset command (CMDR: SRES) is issued or with resetting CMDR.XREP, after which continuous `1's are transmitted. During cyclic transmission the XREP-bit has to be set with every write operation to CMDR.
8.3.5
CRC ON/OFF Features
As an option in HDLC mode the internal handling of received and transmitted CRC checksum can be influenced via control bits CCR3.RCRC and CCR3.XCRC. * Receive Direction The received CRC checksum is always assumed to be in the 2 last bytes of a frame (CRC-ITU), immediately preceding a closing flag. If CCR3.RCRC is set, the received CRC checksum is written to RFIFO where it precedes the frame status byte (contents of register RSIS). The received CRC checksum is additionally checked for correctness. If HDLC mode is selected, the limits for `Valid Frame' check are modified (refer to description of bit RSIS.VFR). * Transmit Direction If CCR3.XCRC is set, the CRC checksum is not generated internally. The checksum has to be provided via the transmit FIFO (XFIFO) as the last two bytes. The transmitted frame will only be closed automatically with a closing flag. The FALC(R)-LH does not check whether the length of the frame, i.e. the number of bytes to be transmitted makes sense or not.
8.3.6
Receive Address pushed to RFIFO
The address field of received frames can be pushed to the receive FIFO (first one or two bytes of the frame). This function is useful with the extended address recognition. It is enabled by setting control bit CCR2.RADD.
8.3.7
HDLC Data Transmission
In transmit direction 2 x 32 byte FIFO buffers are provided. After checking the XFIFO status by polling bit SIS.XFW or after an interrupt ISR1.XPR (Transmit Pool Ready), up to 32 bytes may be entered by the CPU to the XFIFO. The transmission of a frame can be started by issuing an XHF command via the command register. If enabled, a specified number of preambles (defined by register PRE) are sent optionally before transmission of the current frame starts. If the transmit command does not include an end of message indication (CMDR.XME), the FALC(R)-LH will repeatedly request for the next data block by means of an XPR interrupt as soon as
Data Sheet 173 2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes no more than 32 bytes are stored in the XFIFO, i.e. a 32-byte pool is accessible to the CPU. This process is repeated until the CPU indicates the end of message by XME command, after which frame transmission is finished correctly by appending the CRC and closing flag sequence. Consecutive frames may be share a flag, or may be transmitted as backto-back frames, if service of XFIFO is fast enough. In case no more data is available in the XFIFO prior to the arrival of XME, the transmission of the frame is terminated with an abort sequence and the CPU is notified by interrupt ISR1.XDU. The frame may be aborted by software using CMDR.SRES. The data transmission sequence from the CPU's point of view is outlined in Figure 58.
START
N
Transmit Pool Ready ? Y Write Data (up to 32 bytes) to XFIFO
XPR Interrupt, or XFW Bit in SIS Register = 1
Command XTF/XHF
N
End of Message ? Y Command XTF/XHF + XME
END
ITD08565
Figure 58
Interrupt Driven Data Transmission (flow diagram)
The activities at both serial and CPU interface during frame transmission (supposed frame length = 70 bytes) shown in Figure 59.
Data Sheet
174
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
*
Transmit Frame (70 bytes) System Interface FALC R CPU Interface XPR WR XFIFO 32 bytes XHF WR XFIFO 32 bytes Command XHF XPR WR XFIFO 6 bytes XHF + XME XPR ALLS
ITD10971
32
32
6
Figure 59
Interrupt Driven Transmission Example
8.3.8
HDLC Data Reception
2 x 32 byte FIFO buffers are also provided in receive direction. There are different interrupt indications concerned with the reception of data: * RPF (Receive Pool Full) interrupt, indicating that a 32-byte block of data can be read from RFIFO and the received message is not yet complete. * RME (Receive Message End) interrupt, indicating that the reception of one message is completed. The following figure gives an example of a reception sequence, assuming that a "long" frame (66 bytes) followed by two short frames (6 bytes each) are received.
*
System Interface FALC R CPU Interface
Receive Frame 1 (66 bytes) RF2 RF3 26 6 32 32
RD2 bytes
RD6 bytes
RD RFIFO 32 bytes RMC RPF RPF
RD RFIFO 32 bytes RMC RME
RMC RME
RMC RME
RD6 bytes RMC
ITD10972
RD Status
RD Status
Figure 60
Data Sheet
Interrupt Driven Reception Sequence Example
175 2000-07
RD Status
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8.3.9
(R)
Sa bit Access (E1)
The FALC -LH supports the Sa bit signaling of time slot 0 of every other frame as follows: * access via registers RSW/XSW * access via registers RSA8-4/XSA4-8 * capable of storing the information for a complete multiframe the access via the 64 byte deep receive/transmit FIFO of the integrated signaling controller. This Sa bit access gives the opportunity to transmit/receive a transparent bit stream as well as HDLC frames where the signaling controller automatically processes the HDLC protocol. Enabling for receive direction is done by resetting of CCR1.EITS=0 and setting of registers XCO.SA4E...8E as required. For transmit direction bits TSWM.TSA4...8 have to be set as required, additionally. Data written to the XFIFO will subsequently transmit in the Sa bit positions defined by register XC0.SA8E-4E and the corresponding bits of TSWM.TSA8-4. Any combination of Sa bits can be selected. After the data has been sent out completely, "all ones" or Flags (CCR1.ITF) are transmitted. The continuous transmission of a transparent bit stream, which is stored in the XFIFO, can be enabled. With the setting of bit MODE.HRAC the received Sa bits can be forwarded to the receive FIFO. The access to and from the FIFOs is supported by ISR0.RME/RPF and ISR1.XPR/ALS.
8.3.10
Bit Oriented Message Mode (T1/J1)
(R)
The FALC -LH supports signaling and maintenance functions for T1/J1 - Primary Rate Interfaces using the Extended Super Frame format. The device supports the DL-channel protocol for ESF format according to T1.403-1989 ANSI or to AT&T TR54016 specification. The HDLC- and Bit Oriented Message (BOM) -Receiver can be switched on/off independently. If the FALC(R)-LH is used for HDLC formats only, the BOM receiver has to be switched off. If HDLC- and BOM-receiver has been switched on (MODE.HRAC/BRAC), an automatic switching between HDLC and BOM mode is enabled. Storing of received DL bit information in the RFIFO of the signaling controller and transmitting the XFIFO contents in the DL bit positions is enabled by CCR1.EDLX/ EITS = 10. After hardware (pin RES = high) or software reset (CMDR.RRES = 1) the FALC(R)-LH operates in HDLC mode. If eight or more consecutive ones are detected, the BOM mode is entered. Upon detection of a flag in the data stream, the FALC(R)-LH switches back to HDLC-mode. Operating in BOM-mode, the FALC(R)-LH may receive an HDLC frame immediately, i.e. without any preceding flags. In BOM-mode, the following byte format is assumed (the left most bit is received first). 111111110xxxxxx0 The FALC(R)-LH uses the FFH byte for synchronization, the next byte is stored in RFIFO (first bit received: LSB) if it starts and ends with a `0'. Bytes starting and ending with a `1' are not stored. If there are no 8 consecutive one's detected within 32 bits, an interrupt ISR0.ISF is generated. However, byte sampling is not stopped.
Data Sheet 176 2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes Byte sampling in BOM Mode (T1/J1) a)
1111 1111 1111 0011 0100 1111 1111 0011 0100 1110 1111 0011 0100 1101 1111
sync
not stored
new sync corrupted sync
1.byte stored
1.corrupted sync
2.byte stored
2.corrupted sync
b)
1111 1111 0111 0110 1101 1111 0111 0110 1111 1111 0111 0110 0111 1111
sync
1.byte stored
1.corrupted sync
2.byte stored
2.sync
3.byte stored
3.corrupted sync
Two different BOM reception modes can be programmed (by CCR1.BRM). 10 byte packets: CCR1.BRM = 0 After storing 10 bytes in RFIFO the receive status byte marking a BOM frame (RSIS.HFR) is added as the eleventh byte and an interrupt (ISR0.RME) is generated. The sampling of data bytes continues and interrupts are generated every 10 bytes until an HDLC flag is detected. Continuous reception: CCR1.BRM = 1 Interrupts are generated every 32 (16, 4, 2) bytes. After detecting an HDLC flag, byte sampling is stopped, the receive status byte is stored in RFIFO and an RME interrupt is generated. The user may switch between these modes at any time. Byte sampling may be stopped by deactivating the BOM receiver (MODE.BRAC). In this case the receive status byte is added, an interrupt is generated and HDLC-mode is entered. Whether the FALC(R)-LH operates in HDLC or BOM mode may be checked by reading the Signaling Status Register (SIS.BOM).
Data Sheet
177
2000-07
PEB 2255 FALC-LH V1.3
Signaling Controller Operating Modes
8.3.10.1 Data Link Access in ESF/F72 Format (T1/J1)
The FALC(R)-LH supports the DL-channel protocol using the ESF or F72 (SLC96) format as follows: * Sampling of DL bits is done on a multiframe basis and stored in the registers RDL1...3. A receive multiframe begin interrupt is provided to read the received data DL bits. The contents of registers XDL1...3 is subsequently sent out on the transmit multiframe basis if it is enabled via FMR1.EDL. A transmit multiframe begin interrupt requests for writing new information to the DL-bit registers. * If enabled by CCR1.EDLX/EITS=10, the DL-bit information is stored in the Receive FIFO of the signaling controller. The DL-bits stored in the XFIFO are inserted into the outgoing data stream. If CCR1.EDLX is cleared, a HDLC- or a transparent- frame can be sent or received via the RFIFO/XFIFO.
Data Sheet
178
2000-07
PEB 2255 FALC-LH V1.3
Register Description
Due to the different device function in E1 and T1/J1 mode, several registers and register bits have dedicated functions according to the selected operation mode. To maintain easy readability this chapter is divided into separate E1 and T1/J1 sections. Please choose the correct description according to your application (E1 or T1/J1).
Data Sheet
179
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
9
9.1
*
E1 Registers
E1 Control Register Addresses
E1 Control Register Address Arrangement Register XFIFO XFIFO CMDR MODE RAH1 RAH2 RAL1 RAL2 IPC CCR1 CCR3 PRE RTR1 RTR2 RTR3 RTR4 TTR1 TTR2 TTR3 TTR4 IMR0 IMR1 IMR2 IMR3 IMR4 IMR5 FMR0 Type W W W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Comment Transmit FIFO Transmit FIFO Command Register Mode Register Receive Address High 1 Receive Address High 2 Receive Address Low 1 Receive Address Low 2 Interrupt Port Configuration Common Configuration Register 1 Common Configuration Register 3 Preamble Register Receive Timeslot Register 1 Receive Timeslot Register 2 Receive Timeslot Register 3 Receive Timeslot Register 4 Transmit Timeslot Register 1 Transmit Timeslot Register 2 Transmit Timeslot Register 3 Transmit Timeslot Register 4 Interrupt Mask Register 0 Interrupt Mask Register 1 Interrupt Mask Register 2 Interrupt Mask Register 3 Interrupt Mask Register 4 Interrupt Mask Register 5 Framer Mode Register 0
180
Table 51 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A
Data Sheet
Address
Page 183 183 183 185 185 186 186 186 186 187 189 190 191 191 191 191 192 192 192 192 193 193 193 193 193 193 193
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Table 51 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 E1 Control Register Address Arrangement (cont'd) Register FMR1 FMR2 LOOP XSW XSP XC0 XC1 RC0 RC1 XPM0 XPM1 XPM2 TSWM IDLE XSA4 XSA5 XSA6 XSA7 XSA8 FMR3 ICB1 ICB2 ICB3 ICB4 LIM0 LIM1 PCD PCR LIM2 LCR1 Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Comment Framer Mode Register 1 Framer Mode Register 2 Channel Loop Back Register Transmit Service Word Transmit Spare Bits Transmit Control 0 Transmit Control 1 Receive Control 0 Receive Control 1 Transmit Pulse Mask 0 Transmit Pulse Mask 1 Transmit Pulse Mask 2 Transparent Service Word Mask Idle Channel Code Transmit SA4 Bit Register Transmit SA5 Bit Register Transmit SA6 Bit Register Transmit SA7 Bit Register Transmit SA8 Bit Register Framer Mode Register 3 Idle Channel Register 1 Idle Channel Register 2 Idle Channel Register 3 Idle Channel Register 4 Line Interface Mode 0 Line Interface Mode 1 Pulse Count Detection Pulse Count Recovery Line Interface Mode 2 Loop Code Register 1 Page 195 197 199 200 201 203 203 204 206 207 207 207 208 209 210 210 210 210 210 210 212 212 212 212 213 214 216 216 217 218
Address
Data Sheet
181
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Table 51 3A 3B 3C 3D 3E 40 60 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F E1 Control Register Address Arrangement (cont'd) Register LCR2 LCR3 SIC1 SIC2 LIM3 SIC3 DEC XS1 XS2 XS3 XS4 XS5 XS6 XS7 XS8 XS9 XS10 XS11 XS12 XS13 XS14 XS15 XS16 Type R/W R/W R/W R/W R/W R/W W W W W W W W W W W W W W W W W W Comment Loop Code Register 2 Loop Code Register 3 System Interface Control 1 System Interface Control 2 Line Interface Mode 3 System Interface Control 3 Disable Error Counter Transmit CAS Register 1 Transmit CAS Register 2 Transmit CAS Register 3 Transmit CAS Register 4 Transmit CAS Register 5 Transmit CAS Register 6 Transmit CAS Register 7 Transmit CAS Register 8 Transmit CAS Register 9 Transmit CAS Register 10 Transmit CAS Register 11 Transmit CAS Register 12 Transmit CAS Register 13 Transmit CAS Register 14 Transmit CAS Register 15 Transmit CAS Register 16 Page 220 220 221 223 224 224 225 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
Address
After `RESET' all control registers except the XFIFO and XS1...16 are initialized to defined values. Unused bits have to be cleared (set to logical `0').
Data Sheet
182
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
9.2
Detailed Description of E1 Control Registers
Transmit FIFO (Write) 7 XFIFO
XF7
0
XF0
(00/01)
Writing data to XFIFO can be done in 8-bit (byte) or 16-bit (word) access. The LSB is transmitted first. Up to 32 bytes/16 words of transmit data can be written to the XFIFO following a XPR (or ALLS) interrupt. Command Register (Write) Value after RESET: 00H 7 CMDR RMC...
RMC RRES XREP XRES XHF XTF XME
0
SRES
(02)
Receive Message Complete Confirmation from CPU to FALC(R)-LH that the current frame or data block has been fetched following a RPF or RME interrupt, thus the occupied space in the RFIFO can be released.
RRES...
Receiver Reset The receive line interface except the clock and data recovery unit (DPLL), the DCR-R circuitry, the receive framer, the one second timer and the receive signaling controller are reset. However the contents of the control registers is not deleted. RRES has to be given every time after a configuration change.
XREP...
Transmission Repeat If XREP is set together with XTF (write 24H to CMDR), the FALC(R)-LH repeatedly transmits the contents of the XFIFO (1 ... 32 bytes) without HDLC framing fully transparently, i.e. without FLAG,CRC. The cyclic transmission is stopped with a SRES command or by resetting XREP.
Note: During cyclic transmission the XREP-bit has to be set with every write operation to CMDR.
Data Sheet
183
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers XRES... Transmitter Reset The transmit framer and transmit line interface including DCO-X are reset. However, the contents of the control registers is not deleted. XRES has to be given every time after a configuration change. XHF... Transmit HDLC Frame After having written up to 32 bytes to the XFIFO, this command initiates the transmission of a HDLC frame. XTF... Transmit Transparent Frame Initiates the transmission of a transparent frame without HDLC framing. XME... Transmit Message End Indicates that the data block written last to the transmit FIFO completes the current frame. The FALC(R)-LH can terminate the transmission operation properly by appending the CRC and the closing flag sequence to the data. SRES... Signaling Transmitter Reset The transmitter of the signaling controller is reset. XFIFO is cleared of any data and an abort sequence (seven 1's) followed by interframe time fill is transmitted. In response to SRES a XPR interrupt is generated. This command can be used by the CPU to abort a frame currently in transmission.
Note: The maximum time between writing to the CMDR register and the execution of the command takes 2.5 periods of the current system data rate. Therefore, if the CPU operates with a very high clock rate in comparison with the FALC (R)-LH's clock, it is recommended that bit SIS.CEC should be checked before writing to the CMDR register to avoid any loss of commands. Note: Bits are cleared automatically except of XREP
Data Sheet
184
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Mode Register (Read/Write) Value after RESET: 00H 7 MODE
MDS2 MDS1 MDS0 HRAC
0 (03)
MDS2...0...
Mode Select The operating mode of the HDLC controller is selected. 000... Reserved 001... Reserved 010... 1 byte address comparison mode (RAL1,2) 011... 2 byte address comparison mode (RAH1,2 and RAL1,2) 100... No address comparison 101... 1 byte address comparison mode (RAH1,2) 110... Reserved 111... No HDLC framing mode
HRAC...
HDLC Receiver Active Switches the HDLC receiver to operational or inoperational state. 0... 1... Receiver inactive Receiver active
Receive Address Byte High Register 1 (Read/Write) Value after RESET: FDH 7 RAH1
0
0 (04)
In operating modes that provide high byte address recognition, the high byte of the received address is compared with the individually programmable values in RAH1 and RAH2. RAH1... Value of the First Individual High Address Byte Bit 1 (C/R-bit) is excluded from address comparison.
Data Sheet
185
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Address Byte High Register 2 (Read/Write) Value after RESET: FFH 7 RAH2 RAH2... Value of Second Individual High Address Byte 0 (05)
Receive Address Byte Low Register 1 (Read/Write) Value after RESET: FFH 7 RAL1 RAL1... Value of First Individual Low Address Byte 0 (06)
Receive Address Byte Low Register 2 (Read/Write) Value after RESET: FFH 7 RAL2 RAL2... 0 (07) Value of the second individually programmable low address byte.
Interrupt Port Configuration (Read/Write) Value after RESET: 00H 7 IPC
VIS SCI IC1
0
IC0
(08)
Note: Unused bits have to be cleared.
VIS... Masked Interrupts Visible 0... 1... Masked interrupt status bits are not visible Masked interrupt status bits are visible
Data Sheet
186
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers SCI... Status Change Interrupt 0... Interrupts ISR2.LOS, ISR2.AIS, ISR3.API and ISR3.LMFA16 are generated only on the rising edge of the corresponding status flag. 1... Interrupts ISR2.LOS, ISR2.AIS, ISR3.API and ISR3.LMFA16 are generated on the rising and falling edge of the corresponding status flag. IC1...0... Interrupt Port Configuration These bits define the function of the interrupt output stage (pin INT): IC1 X 0 1
1)
IC0 0 1 1
Function Open drain output1) Push/pull output, active low Push/pull output, active high
an external pullup resistor is required at pin INT
Common Configuration Register 1 (Read/Write) Value after RESET: 00H 7 CCR1 SFLG...
SFLG XTS16RA CASM EITS ITF RFT1
0
RFT0
(09)
Enable Shared Flags If this bit is set, the closing flag of a preceding HDLC frame simultaneously is used as the opening flag of the following frame. 0... 1... Shared flag function disabled Shared flag function enabled
XTS16RA...
Transmit Time Slot 16 Remote Alarm 0... 1... Standard operation Sends remote alarm in time slot 16 towards remote end by setting the Y-bit in CAS multiframe alignment word. This bit is logically ored with the contents of register XS1.2
Data Sheet
187
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers CASM... CAS Synchronization Mode Determines the synchronization mode of the channel associated signaling multiframe alignment. 0... 1... EITS... Synchronization is done in accordance to ITU-T G. 732 Synchronization is established when two consecutively correct multiframe alignment pattern are found.
Enable Internal Time Slot 0-31 Signaling 0... 1... Internal signaling in time slots 0-31 defined via registers RTR1...4 or TTR1...4 is disabled. Internal signaling in time slots 0-31 defined via registers RTR1...4 or TTR1...4 is enabled.
ITF...
Interframe Time Fill Determines the idle (= no data to send) state of the transmit data coming from the signaling controller. 0... 1... Continuous logical `1' is output Continuous flag sequences are output (`01111110' bit patterns)
RFT1...0...
RFIFO Threshold Level The size of the accessible part of RFIFO can be determined by programming these bits. The number of valid bytes after a RPF interrupt is given in the following table: RFT1 0 0 1 1 RFT0 0 1 0 1 Size of Accessible Part of RFIFO 32 bytes (RESET value) 16 bytes 4 bytes 2 bytes
The value of RFT1, 0 can be changed dynamically. - If reception is not running or - after the current data block has been read, but before the command CMDR.RMC is issued (interrupt controlled data transfer).
Data Sheet
188
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
Note: It is seen that changing the value of RFT1, 0 is possible even during the reception of one frame. The total length of the received frame can be always read directly in RBCL, RBCH after a RPF interrupt, except when the threshold is increased during reception of that frame. The real length can then be inferred by noting which bit positions in RBCL are reset by a RMC command (see table below):
RFT1 0 0 1 1 RFT0 0 1 0 1 Bit Positions in RBCL Reset by a CMDR.RMC Command RBC4 .... 0 RBC3 ... 0 RBC1,0 RBC0
Common Configuration Register 3 (Read/Write) Value after RESET: 00H 7 CCR3
PRE1 PRE0 EPT RADD RCRC XCRC
0 (0A)
Note: Unused bits have to be cleared.
PRE1...0... Number of Preamble Repetitions If preamble transmission is enabled, the preamble defined by register PRE is transmitted: 00... 1 time 01... 2 times 10... 4 times 11... 8 times EPT... Enable Preamble Transmission This bit enables transmission of preamble. The preamble is started after interframe timefill transmission has been stopped and a new frame is to be transmitted. The preamble consists of an 8-bit pattern repeated a number of times. The pattern is defined by register PRE, the number of repetitions is selected by bits PRE0 and PRE1.
Note: The 'Shared Flag' feature is not influenced by preamble transmission. Zero bit insertion is disabled during preamble transmission.
Data Sheet
189
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers RADD... Receive Address Pushed to RFIFO If this bit is set, the received HDLC address information (1 or 2 bytes, depending on the address mode selected via MODE.MDS0) is pushed to RFIFO. See Chapter 8.1 on page 169 for detailed description. RCRC... Receive CRC ON/OFF If this bit is set, the received CRC checksum is written to RFIFO (CRC-ITU-T: 2 bytes). The checksum, consisting of the 2 last bytes in the received frame, is followed in the RFIFO by the status information byte (contents of register RSIS). The received CRC checksum is additionally checked for correctness. If non-auto mode is selected, the limits for "Valid Frame" check are modified (refer to RSIS.VFR and to Chapter 8.1 on page 169). XCRC... Transmit CRC ON/OFF If this bit is set, the CRC checksum is not generated internally. It has to be written as the last two bytes in the transmit FIFO (XFIFO). The transmitted frame is closed automatically with a closing flag.
Note: The FALC (R)-LH does not check whether the length of the frame, i.e. the number of bytes to be transmitted makes sense or not.
Preamble Register (Read/Write) Value after RESET: 00H 7 PRE PRE7...0... Preamble Register This register defines the pattern which is sent during preamble transmission (refer to CCR3). LSB is sent first. 0 (0B)
Note: Zero bit insertion is disabled during preamble transmission.
Data Sheet
190
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Timeslot Register 1...4 (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 RTR1 RTR2 RTR3 RTR4
TS0 TS8 TS16 TS24 TS1 TS9 TS17 TS25 TS2 TS10 TS18 TS26 TS3 TS11 TS19 TS27 TS4 TS12 TS20 TS28 TS5 TS13 TS21 TS29 TS6 TS14 TS22 TS30
0
TS7 TS15 TS23 TS31
(0C) (0D) (0E) (0F)
TS0...31...
Timeslot Register These bits define the received time slots on the system highway port RDO to be extracted to RFIFO and marked. Additionally these registers control the RSIGM marker which can be forced high during the respective time slots independently of bit CCR1.EITS. A one in the RTR1...4 bits samples the corresponding time slots and send their data to the RFIFO of the signaling controller if bit CCR1.EITS is set. Assignments: TS0 time slot 0 ... TS31 time slot 31 0 ...The corresponding time slot is not extracted and stored into the RFIFO. 1...The contents of the selected time slot is stored in the RFIFO. This function becomes active only if bit CCR1.EITS is set. The corresponding time slot is forced high on marker pin RSIGM.
Data Sheet
191
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Transmit Timeslot Register 1...4 (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 TTR1 TTR2 TTR3 TTR4
TS0 TS8 TS16 TS24 TS1 TS9 TS17 TS25 TS2 TS10 TS18 TS26 TS3 TS11 TS19 TS27 TS4 TS12 TS20 TS28 TS5 TS13 TS21 TS29 TS6 TS14 TS22 TS30
0
TS7 TS15 TS23 TS31
(10) (11) (12) (13)
TS0...31...
Transmit Timeslot Register These bits define the transmit time slots on the system highway to be inserted. Additionally these registers control the XSIGM marker which can be forced high during the respective time slots independently of bit CCR1.EITS. A one in the TTR1...4 bits inserts the corresponding time slot sourced by the XFIFO in the data received on pin XDI, if bit CCR1.EITS is set. If SIC3.TTRF is set and CCR1.EITS is cleared insertion of data received on port XSIG is controlled by this registers. Assignments: TS0 time slot 0 ... TS31 time slot 31 0 ...The selected time slot is not inserted into the outgoing data stream. 1...The contents of the selected time slot is inserted into the outgoing data stream from XFIFO. This function becomes active only if bit CCR1.EITS is set. The corresponding time slot is forced high on marker pin XSIGM.
Data Sheet
192
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Interrupt Mask Register 0...5 (Read/Write) Value after RESET: FFH, FF H, FF H, FF H, FF H 7 IMR0 IMR1 IMR2 IMR3 IMR4 IMR5
RME LLBSC FAR ES LFA XSP RFS RDO LFA SEC FER XSN T8MS ALLS MFAR LMFA16 CER RMB XDU T400MS AIS16 AIS CASC XMB AIS RA16 LOS LOS API CVE CRC4 SA6SC XLSC RAR RSN SLIP
0
RPF XPR RA RSP EBE
(14) (15) (16) (17) (18) (19)
IMR0...IMR5...
Interrupt Mask Register Each interrupt source can generate an interrupt signal on port INT (characteristics of the output stage are defined via register IPC). A `1' in a bit position of IMR0...5 sets the mask active for the interrupt status in ISR0...3 and ISR5. Masked interrupt statuses neither generate a signal on INT, nor are they visible in register GIS. Moreover, they are
- -
not displayed in the Interrupt Status Register if bit IPC.VIS is cleared displayed in the Interrupt Status Register if bit IPC.VIS is set.
Note: After RESET, all interrupts are disabled.
Framer Mode Register 0 (Read/Write) Value after RESET: 00H 7 FMR0 XC1... 0...
XC1 XC0 RC1 RC0 EXTD ALM FRS
0
SIM
(1A)
Transmit Code Serial code for the transmitter is independent to the receiver. 00... NRZ (optical interface) 01... CMI (1T2B + HDB3), (see FMR3 on page 210) 10... AMI (ternary or digital dual rail interface) 11... HDB3 Code (ternary or digital dual rail interface)
Data Sheet
193
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers RC1...0... Receive Code Serial code for the receiver is independent to the transmitter. 00... NRZ (optical interface) 01... CMI (1T2B+HDB3), (optical interface) 10... AMI (ternary or digital dual rail interface) 11... HDB3 Code (ternary or digital dual rail interface) EXTD... Extended HDB3 Error Detection Selects error detection mode. 0... 1... Only double violations are detected. Extended code violation detection: 0000 strings are detected additionally. Thereafter, next increment of Code Violation Counter CVC is done after receiving additional four zeros.
ALM...
Alarm Mode Selects the AIS alarm detection mode. 0... The AIS alarm is detected according to ETS300233. Detection: An AIS alarm is detected if the incoming data stream contains less than 3 zeros within a period of 512 bits and a Loss of Frame Alignment is indicated. Recovery: The alarm is cleared if 3 or more zeros within 512 bits are detected or the FAS word is found. The AIS alarm is detected according to ITU-T G.775 Detection: An AIS alarm is detected if the incoming data stream contains for two consecutive doubleframe periods (1024 bits) less than 3 zeros for each doubleframe period (512 bits). Recovery: The alarm is cleared if within two consecutive doubleframe periods 3 or more zeros for each period of 512 bits are detected.
1...
FRS...
Force Resynchronization A transition from low to high initiates a resynchronization procedure of the pulse frame and the CRC-multiframe (if enabled via bit FMR2.RFS1) starting directly after the old framing candidate.
Note:FRS is not reset automatically.
Data Sheet
194
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers SIM... Alarm Simulation 0... 1... Normal operation. Initiates internal error simulation of AIS, loss of signal, loss of synchronization, remote alarm, slip, framing errors, CRC errors, and code violations. The error counters FEC, CVC, CEC1 are incremented.
Framer Mode Register 1 (Read/Write) Value after RESET: 00H 7 FMR1 MFCS...
MFCS AFR ENSA PMOD XFS ECM IMOD
0
XAIS
(1B)
Multiframe Force Resynchronization Only valid if CRC multiframe format is selected (FMR2.RFS1/0=10). A transition from low to high initiates the resynchronization procedure for CRC-multiframe alignment without influencing doubleframe synchronous state. In case, "Automatic Force Resynchronization" (FMR1.AFR) is enabled and multiframe alignment can not be regained, a new search of doubleframe (and CRC multiframe) is automatically initiated.
Note:MFCS is not reset automatically.
AFR... Automatic Force Resynchronization Only valid if CRC multiframe format is selected (FMR2.RFS1/0=10). If this bit is set, a search of doubleframe alignment is automatically initiated if two multiframe patterns with a distance of n x 2 ms have not been found within a time interval of 8 ms after doubleframe alignment has been regained. ENSA... Enable Sa-Bit Access via Register XSA4...8 0... 1... Normal operation. The Sa-bit information is taken from bits XSW.XY0...4 and written to bits RSW.RY0...4. Sa-bit register access. The Sa-bit information is taken from the registers XSA4...8. In addition, the received information is written to registers RSA4...8. Transmitting of the contents of registers XSA4...8 is disabled if one of time slot 0 transparent modes is enabled (XSP.TT0 or TSWM.SA4...8).
Data Sheet
195
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers PMOD... PCM Mode For E1 application this bit must be set low. Switching from E1 to T1 or vice versa the device needs up to 10 s to settle up to the internal clocking. 0... 1... XFS... PCM 30 or E1 mode. PCM 24 or T1 mode.
Transmit Framing Select Selection of the transmit framing format could be done independent of the receive framing format. 0... 1... Doubleframe format enabled. CRC4-multiframe format enabled.
ECM...
Error Counter Mode The function of the error counters is determined by this bit. 0... Before reading an error counter the corresponding bit in the Disable Error Counter register (DEC) has to be set. In 8 bit access the low byte of the error counter should always be read before the high byte. The error counters are reset with the rising edge of the corresponding bits in the DEC register. Every second the error counters are latched and then automatically be reset. The latched error counter state should be read within the next second. Reading the error counter during updating should be avoided (do not access an error counter within 2 s before or after the one-second interrupt occurs).
1...
IMOD...
Select System Interface Mode 0... 4.096 Mbit/s 1... 2.048 Mbit/s
XAIS...
Transmit AIS Towards Remote End Sends AIS via ports XL1, XL2, XOID towards the remote end. The outgoing data stream which could be looped back via the Local Loop to the system interface is not affected.
Data Sheet
196
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Framer Mode Register 2 (Read/Write) Value after RESET: 00H 7 FMR2
RFS1 RFS0 RTM DAIS SAIS PLB AXRA
0
ALMF
(1C)
RFS1... 0...
Receive Framing Select 00... Doubleframe format 01... Doubleframe format 10... CRC4 Multiframe format 11... CRC4 Multiframe format with modified CRC4 Multiframe alignment algorithm (Interworking according to ITU-T G.706 Annex B). Setting of FMR3.EXTIW changes the reaction after the 400 ms timeout.
RTM...
Receive Transparent Mode Setting this bit disconnects control of the internal elastic store from the receiver. The elastic store is now in a "free running" mode without any possibility to update the time slot assignment to a new frame position in case of re-synchronization of the receiver. This function can be used in conjunction with the "disable AIS to system interface" feature (FMR2.DAIS) to realize undisturbed transparent reception. This bit should be enabled in case of unframed data reception mode. After resetting RTM to 0, the elastic buffer is adjusted after the next resynchronization.
DAIS...
Disable AIS to System Interface 0... 1... AIS is automatically inserted into the data stream to RDO if FALC (R)-LH is in asynchronous state. Automatic AIS insertion is disabled. Furthermore, AIS insertion can be initiated by programming bit FMR2.SAIS.
SAIS...
Send AIS Towards System Interface Sends AIS via output RDO towards system interface. This function is not influenced by bit FMR2.DAIS.
PLB...
Payload Loopback 0... 1... Normal operation. Payload loop is disabled. The payload loopback loops the data stream from the receiver section back to transmitter section. Looped data is output on pin RDO. Data received on port XDI, XSIG, SYPX and XMFS is
197 2000-07
Data Sheet
PEB 2255 FALC-LH V1.3
E1 Registers ignored. With XSP.TT0=1 timeslot 0 is also looped. If XSP.TT0=0 timeslot 0 is generated internally. AIS is sent immediately on port RDO by setting the FMR2.SAIS bit. It is recommended to write the actual value of XC1 into this register once again, because a write access to register XC1 sets the read/write pointer of the transmit elastic buffer into its optimal position to ensure a maximum wander compensation (the write operation forces a slip). AXRA... Automatic Transmit Remote Alarm 0... 1... Normal operation The Remote Alarm bit is set automatically in the outgoing data stream if the receiver is in asynchronous state (FRS0.LFA bit is set). In synchronous state the remote alarm bit is reset. Additionally in multiframe format FMR2.RFS1=1 and FMR3.EXTIW =1 and the 400 ms timeout has elapsed, the remote alarm bit is active in the outgoing data stream. In multiframe synchronous state the outgoing remote alarm bit is cleared.
ALMF...
Automatic Loss of Multiframe 0... 1... Normal operation The receiver searches a new basic framing and multiframing if more than 914 CRC errors have been detected in a time interval of one second. The internal 914 CRC error counter is reset if the multiframe synchronization is found. Incrementing the counter is only enabled in the multiframe synchronous state.
Data Sheet
198
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Channel Loop Back Register (Read/Write) Value after RESET: 00H 7 LOOP SPN...
SPN SFM ECLB CLA4 CLA3 CLA2 CLA1
0
CLA0
(1D)
Select Additional Optical Pin Functions Together with bit LIM3.ESY the functionality of pin 80 is defined: Programming of LOOP.SPN and LIM3.ESY and the corresponding pin function is shown below. SPN/ESY: 00... function of pin 80 XSIG: If SIC3.TTRF = 1, transmit data from the system interface. Internal multiplexing with the XDI data stream is controlled by XSIGM. No input function defined for SIC3.TTRF = 0. 01... function of pin 80 SYNC2: external synchronization input for the DCO-X circuitry 10... function of pin 80 ROID: Receive Optical Interface Data (Input) and Pin 68: XMFB/XOID Transmit Optical Interface Data (Output). At the same time data received on pin 2 are ignored, data on pin XOID (pin 15) are undefined. Transmit data is clocked off with the positive transition of XCLK. After Reset the transmit multiframe begin marker is output on pin 68. 11... function of pin 80 XSIG: The signaling information from the transmit system interface is received on pin XSIG. Bit FMR5.EIBR should be cleared to disable internal signaling access from registers XS1...16. The signaling information from the line interface is transmitted on pin RSIG.
SFM...
Single Frame Mode Setting this bit reduces the receive speech memory from two to one frame length. In this case, clocks SCLKR and RCLK have to be phase locked to avoid slip conditions. However, slip detection still works but without any influence on data transmission.
Note:This mode is not recommended, but possible to be compatible with FALC(R)54. Newer FALC devices (e.g. FALC(R)56, QuadFALCTM ) don't support this any more.
Data Sheet
199
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers ECLB... Enable Channel Loop Back 0... 1... CLA4...0... Disables the channel loop back. Enables the channel loop back selected by this register.
Channel Address For Loop Back CLA = 0...31 selects the channel. During looped back the contents of the assigned outgoing channel on ports XL1/XDOP/XOID and XL2/XDON is equal to the idle channel code programmed at register IDLE.
Transmit Service Word Pulseframe (Read/Write) Value after RESET: 00H 7 XSW XSIS...
XSIS XTM XRA XY0 XY1 XY2 XY3
0
XY4
(1E)
Spare Bit For International Use First bit of the service word. Only significant in doubleframe format. If not used, this bit should be fixed to `1'. If one of the time slot 0 transparent modes is enabled (bit XSP.TT0, or TSWM.TSIS), bit XSW.XSIS is ignored.
XTM...
Transmit Transparent Mode 0...Ports SYPX/XMFS define the frame/multiframe begin on the transmit system highway. The transmitter is usually synchronized on this externally sourced frame boundary and generates the FAS bits according to this framing. Any change of the transmit time slot assignment or a transmit slip subsequently produces a change of the FAS bit positions. 1... Disconnects the control of the transmit system interface from the transmitter. The transmitter is now in a free running mode without any possibility to update the multiframe position. The framing (FAS bits) generated by the transmitter are not disturbed (in case of changing the transmit time slot assignment or transmit slip) by the transmit system highway unless register XC1 is written. Useful in loop-timed applications. For correct operation the transmit elastic buffer (2 frames, SIC1.XBS1/0= 10) has to be enabled.
Data Sheet
200
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers XRA... Transmit Remote Alarm 0... 1... Normal operation. Sends remote alarm towards remote end by setting bit 3 of the service word. If time slot 0 transparent mode is enabled via bit XSP.TT0 or TSWM.TRA bit is set, bit XSW.XRA is ignored.
XY0...4...
Spare Bits For National Use (Y-Bits, Sn-Bits, Sa-Bits) These bits are inserted in the service word of every other pulseframe if Sa-bit register access is disabled (FMR1.ENSA = 0). If not used, they should be fixed to `1'. If one of the time slot 0 transparent modes is enabled (bit XSP.TT0 or TSWM.TSA4...8), bits XSW.XY0...4 is ignored.
Transmit Spare Bits (Read/Write) Value after RESET: 00H 7 XSP XAP...
XAP CASEN TT0 EBP AXS XSIF XS13
0
XS15
(1F)
Transmit Auxiliary Pattern towards Remote End 0... 1... Normal operation. A one in this bit position causes the transmitter to send an alternating pattern 101010... towards the remote end. FMR1.XAIS = 1 overwrites the alternating pattern by a continuous one bit stream.
CASEN...
Channel Associated Signaling Enable 0... 1... Normal operation. A one in this bit position causes the transmitter to send the CAS information stored in the XS1...16 registers in the corresponding time slots.
TT0...
Time Slot 0 Transparent Mode 0... 1... Normal operation. All information for time slot 0 on port XDI is inserted in the outgoing pulseframe. All internal information of the FALC (R)-LH (framing, CRC, S a/Si bit signaling, remote alarm) is ignored. This function is mainly useful for system test applications (test
201 2000-07
Data Sheet
PEB 2255 FALC-LH V1.3
E1 Registers loops). Priority sequence of transparent modes: XSP.TT0 > TSWM. EBP... E-Bit Polarity 0... 1... In the basic framing or multiframe asynchronous state the E-bit is cleared. In the basic framing or multiframe asynchronous state the E-bit is set.
If automatic transmission of sub-multiframe status is enabled by setting bit XSP.AXS and the receiver has been lost multiframe synchronization, the E bit with the programmed polarity is inserted automatically in Si-bit position of every outgoing CRC multiframe (under the condition that time slot 0 transparent mode and transparent Si bit in service word are both disabled). AXS... Automatic Transmission of Submultiframe Status Only applicable to CRC multiframe. 0... 1... Normal operation. Information of submultiframe status bits RSP.SI1 and RSP.SI2 is inserted automatically in S i-bit positions of the outgoing CRC multiframe (RSP.SI1 Si-bit of frame 13; RSP.SI2 Si-bit of frame 15). Contents of XSP.XS13 and XSP.XS15 is ignored. If one of the time slot 0 transparent modes XSP.TT0 or TSWM.TSIS is enabled, bit XSP.AXS has no function.
XSIF...
Transmit Spare Bit For International Use (FAS Word) First bit in the FAS word. Only significant in doubleframe format. If not used, this bit should be fixed to `1'. If one of the time slot 0 transparent modes is enabled (bits XSP.TT0, or TSWM.TSIF), bit XSP.XSIF is ignored.
XS13...
Transmit Spare Bit (Frame 13, CRC-Multiframe) First bit in the service word of frame 13 for international use. Only significant in CRC-multiframe format. If not used, this bit should be fixed to `1'. The information of XSP.XS13 is shifted into internal transmission buffer with beginning of the next following transmitted CRC multiframe. If automatic transmission of submultiframe status is enabled via bit XSP.AXS, or, if one of the time slot 0 transparent modes XSP.TT0 or TSWM.TSIS is enabled, bit XSP.XS13 is ignored.
Data Sheet
202
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers XS15... Transmit Spare Bit (Frame 15, CRC-Multiframe) First bit in the service word of frame 15 for international use. Only significant in CRC-multiframe format. If not used, this bit should be fixed to `1'. The information of XSP.XS15 is shifted into internal transmission buffer with beginning of the next following transmitted CRC multiframe. If automatic transmission of submultiframe status is enabled via bit XSP.AXS, or, if one of the time slot 0 transparent modes XSP.TT0 or TSWM.TSIF is enabled, bit XSP.XS15 is ignored. Transmit Control 0 (Read/Write) Value after RESET: 00H 7 XC0
SA8E SA7E SA6E SA5E SA4E XCO2 XCO1
0
XCO0
(20)
SA8E...4E
SA Bit Signaling Enable 0... 1... Standard operation. By setting this bit it is possible to send/receive a LAPD protocol in any combination of the SA8...SA4 bit positions in the outgoing/incoming data stream. The on chip signaling controller has to be configured in the HDLC/LAPD mode. In transmit direction together with these bits the TSWM.TSA8-4 bits must be set to enable transmission to the remote end transparently through the FALC (R)-LH.
XCO2...0...
Transmit Clock Slot Offset Initial value loaded into the transmit bit counter at the trigger edge of SCLKX when the synchronous pulse on port SYPX is active. Refer to register XC1. XCO0 must be cleared if SIC1.SXSC is set.
Transmit Control 1 (Read/Write) Value after RESET: 00H 7 XC1
XCOS XTO5 XTO4 XTO3 XTO2 XTO1
0
XTO0
(21)
A write access to this address resets the transmit elastic buffer to its basic starting position. Therefore, updating the value should only be done when the FALC(R)-LH is
Data Sheet 203 2000-07
PEB 2255 FALC-LH V1.3
E1 Registers initialized or when the buffer should be centered. As a consequence a transmit slip occurs. XCOS... Transmit Clock Offset Shift Only valid if SIC1.SXSC = 0. 0... The delay T between the beginning of time slot 0 and the initial edge of SCLKX (after SYPX goes active) is an even number in the range of 0 to 1022 SCLKX cycles. The delay T is an odd number in the range of 1 to 1023 SCLKX cycles.
1...
XTO5...0...
Transmit Time Slot Offset Initial value loaded into the transmit time slot counter at the trigger edge of SCLKX when the synchronous pulse on port SYPX is active.
Receive Control 0 (Read/Write) Value after RESET: 00H 7 RC0 RCOS...
RCOS SICS CRCI XCRCI RDIS RCO2 RCO1
0
RCO0
(22)
Receive Clock Offset Shift 0... The delay T between the beginning of time slot 0 and the initial edge of SCLKR (after SYPR goes active) is an even number in the range of 0 to 1022 SCLKR cycles. The delay T is an odd number in the range of 1 to 1023 SCLKR cycles.
1... SICS...
System Interface Channel Select Only applicable for PCM highway configuration 8 MHz and 4 Mbit/s 0... Received data is output on port RDO in the first channel phase. Data line RDO is tristated in the second channel phase. Data on pin XDI is sampled in the first channel phase only. Data on XDI in the second channel phase is ignored. Received data is output on port RDO in the second channel phase. Data line RDO is tristated in the first channel phase. Data on pin XDI is sampled in the second channel phase only. Data on XDI in the first channel phase is ignored.
204 2000-07
1...
Data Sheet
PEB 2255 FALC-LH V1.3
E1 Registers CRCI... Automatic CRC4 Bit Inversion If set, all CRC bits of one outgoing submultiframe are inverted in case a CRC error is flagged for the previous received submultiframe. This function is logically ORed with RC0.XCRCI. XCRCI... Transmit CRC4 Bit Inversion If set, the CRC bits in the outgoing data stream are inverted before transmission. This function is logically ORed with RC0.CRCI. RDIS... Receive Data Input Sense Only applicable for dual rail mode (LIM1.DRS = 1). 0... Inputs: RDIP, RDIN active low, input ROID is active high 1... Inputs: RDIP, RDIN active high, input ROID is active low RCO2...0... Receive Clock Slot Offset/Receive Frame Marker Offset Depending on bit SIC2.SRFSO this bit enables different functions: Receive Clock-Slot Offset (SIC2.SRFSO = 0) Initial value loaded into the receive bit counter at the trigger edge of SCLKR when the synchronous pulse on port SYPR is active. Receive Frame Marker Offset (SIC2.SRFSO = 1) Offset programming of the receive frame marker which is output on port SYPR. The receive frame marker could be activated during any bit position of the current frame. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on the bit position BP which should be marked and SCLKR: X = (2 + 2 BP) mod 512, for SCLKR = 2.048 MHz.
Data Sheet
205
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Control 1 (Read/Write) Value after RESET: 00H 7 RC1 SWD ...
SWD ASY4 RTO5 RTO4 RTO3 RTO2 RTO1
0
RTO0
(23)
Service Word Condition Disable 0... Standard operation. Three or four consecutive incorrect service words (depending on bit RC1.ASY4) causes loss of synchronization. Errors in service words have no influence when in synchronous state. However, they are used for the resynchronization procedure.
1...
ASY4 ...
Select Loss of Sync Condition 0... Standard operation. Three consecutive incorrect FAS words or three consecutive incorrect service words causes loss of synchronization. Four consecutive incorrect FAS words or four consecutive incorrect service words causes loss of synchronization. The service word condition may be disabled via bit RC1.SWD.
1...
RTO5...0...
Receive Time Slot Offset/Receive Frame Marker Offset Depending on bit SIC2.SRFSO this bit enables different functions: Receive Time Slot Offset (SIC2.SRFSO = 0) Initial value which is loaded into the receive time slot counter at the trigger edge of SCLKR when the synchronous pulse on port SYPR is active. Receive Frame Marker Offset (SIC2.SRFSO = 1) Offset programming of the receive frame marker which is output on port SYPR. The receive frame marker could be activated during any bit position of the current frame. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on the bit position BP which should be marked and SCLKR: X = (2 + 2 BP) mod 512, for SCLKR = 2.048 MHz.
Data Sheet
206
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Transmit Pulse-Mask 0...2 (Read/Write) Value after RESET: 9CH, 03 H, 00 H 7 XPM0 XPM1 XPM2
XP12 XP30 XLHP XP11 XP24 XLT XP10 XP23 DAXLT XP04 XP22 XP03 XP21 XP34 XP02 XP20 XP33 XP01 XP14 XP32
0
XP00 XP13 XP31
(24) (25) (26)
The transmit pulse shape which is defined in ITU-T G.703 is output on pins XL1 and XL2. The level of the pulse shape can be programmed via registers XPM2...0 to create a custom waveform. In order to get an optimized pulse shape for the external transformers each pulse shape is internally divided into four sub pulse shapes. In each sub pulse shape a programmed 5 bit value defines the level of the analog voltage on pins XL1/2. Together four 5 bit values have to be programmed to form one complete transmit pulse shape. The four 5 bit values are sent in the following sequence: XP04-00: First pulse shape level XP14-10: Second pulse shape level XP24-20: Third pulse shape level XP34-30: Fourth pulse shape level Changing the LSB of each subpulse in registers XPM2...0 changes the amplitude of the differential voltage on XL1/2 by approximately 110 mV. Example:120 interface and wired as shown in Figure 23 on page 79. XPM04-00: 1DH or 29 decimal XPM14-10: 1DH or 29 decimal XPM24-20: 00H XPM34-30: 00H Programming values for XPM0...2: BDH, 03H, 00H XLHP... Transmit Line High Power 0... 1... Normal operation With this bit the output current capability of the transmit line XL1 and XL2 can be influenced. Connecting low impedances to the outputs XL1/XL2 this bit should be set to increase the possible output current. Setting this bit has no influence on the voltage levels of the pulse shape.
Data Sheet
207
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers XLT... Transmit Line Tristate 0... 1... Normal operation Transmit line XL1/XL2 or XDOP/XDON are switched into high impedance state. If this bit is set the transmit line monitor status information is frozen.
DAXLT...
Disable Automatic Tristating of XL1/2 0... Normal operation. If a short is detected on pins XL1/2 the transmit line monitor sets the XL1/2 outputs into a high impedance state. If a short is detected on XL1/2 pins automatic setting these pins into a high impedance (by the XL-monitor) state is disabled.
1...
Transparent Service Word Mask (Read/Write) Value after RESET: 00H 7 TSWM
TSIS TSIF TRA TSA4 TSA5 TSA6 TSA7
0
TSA8
(27)
TSWM7...0... TSIS...
Transparent Service Word Mask Transparent Si-Bit in Service Word 0... 1... The Si-Bit is generated internally. The S i-Bit in the service word is taken from port XDI and transparently passed through the FALC(R)-LH without any changes. The internal information of the FALC(R)-LH (register XSW) is ignored.
TSIF...
Transparent Si Bit in FAS Word 0... 1... The Si-Bit is generated internally. The S i-Bit in the FAS word is taken from port XDI and routed transparently through the FALC (R)-LH without any changes. The internal information of the FALC (R)-LH (register XSW) is ignored.
Data Sheet
208
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers TRA... Transparent Remote Alarm 0... 1... The Remote Alarm Bit is generated internally. The A Bit is taken from port XDI and routed transparently through the FALC(R)-LH without any changes. The internal information of the FALC (R)-LH (register XSW) is ignored.
TSA4...8...
Transparent SA4...8 Bit 0... 1... The SA4...8 bits are generated internally. The SA4...8 bits are taken from port XDI or from the internal signaling controller if enabled and transparently passed through the FALC(R)-LH without any changes. The internal information of the FALC (R)-LH (registers XSW and XSA4...8) is ignored.
Idle Channel Code Register (Read/Write) Value after RESET: 00H 7 IDLE IDL7...0...
IDL7
0
IDL0
(29)
Idle Channel Code If channel loop back is enabled by programming LOOP.ECLB = 1, the contents of the assigned outgoing channel on ports XL1/XL2 or XDOP/XDON is set equal to the idle channel code selected by this register. Additionally, the specified pattern overwrites the contents of all channels selected via the idle channel registers ICB1...ICB4. IDL7 is transmitted first.
Data Sheet
209
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Transmit SA4...8 Register (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H, 00H 7 XSA4 XSA5 XSA6 XSA7 XSA8
XS47 XS57 XS67 XS77 XS87 XS46 XS56 XS66 XS76 XS86 XS45 XS55 XS65 XS75 XS85 XS44 XS54 XS64 XS74 XS84 XS43 XS53 XS63 XS73 XS83 XS42 XS52 XS62 XS72 XS82 XS41 XS51 XS61 XS71 XS81
0
XS40 XS50 XS60 XS70 XS80
(2A) (2B) (2C) (2D) (2E)
XSA8...XSA4...
Transmit Sa-Bit Data The Sa-bit register access is enabled by setting bit FMR1.ENSA = 1. With the transmit multiframe begin an interrupt ISR1.XMB is generated and the contents of these registers XSA4...8 is copied into a shadow register. The contents is subsequently sent out in the service words of the next outgoing CRC multiframe (or doubleframes) if none of the time slot 0 transparent modes is enabled. XS40 is sent out in bit position 4 in frame 1, XS47 in frame 15. The transmit multiframe begin interrupt XMB request that these registers should be serviced. If requests for new information are ignored, current contents is repeated.
Framer Mode Register 3 (Read/Write) Value after RESET: 00H 7 FMR3 XLD...
XLD XLU CMI SA6SY CFRZ
0
EXTIW
(2F)
Transmit LLB Down Code 0... 1... Normal operation. A one in this bit position normal transmit data with continuously until this bit optionally overwritten by causes the transmitter to replace the LLB Down (Deactivate) Code is reset. The LLB Down Code is the timeslot 0 depending on bit
Data Sheet
210
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LCR1.LLBF. For correct operation bit FMR3.XLU must be cleared. XLU... Transmit LLB UP Code 0... 1... Normal operation. A one in this bit position causes the transmitter to replace normal transmit data with the LLB UP Code continuously until this bit is reset. The LLB UP Code is overwritten by the timeslot 0 depending on bit LCR1.LLBF. For correct operation bit FMR3.XLD must be cleared.
CMI...
Select CMI Precoding Only valid if CMI code (FMR0.XC1/0=01) is selected. This bit defines the CMI precoding and influences only the transmit data and not the receive data. 0... 1... CMI with HDB3 precoding CMI without HDB3 precoding
SA6SY...
Receive SA6 Access Synchronous Mode Only valid if multiframe format (FMR2.RFS1/0=1x) is selected. 0... The detection of the predefined SA6 bit pattern (refer to chapter SA6 Bit Detection according to ETS 300233) is done independently of the multiframe synchronous state. The detection of the SA6 bit pattern is done synchronously to the multiframe.
1... CFRZ...
Enable CAS Freeze Output This bit selects the function of pin RFSPQ. 0... 1... The receive frame synchronous pulse is output on pin RFSPQ. The synchronous status of the integrated CAS controller (FRS1.TS16LFA) is output on pin RFSP. If the CAS synchronizer lost its synchronization this pin is set high.
EXTIW...
Extended CRC4 to Non CRC4 Interworking Only valid in multiframe format. This bit selects the reaction of the synchronizer after the 400 ms timeout has been elapsed and starts transmitting a remote alarm if FMR2.AXRA is set. 0... The CRC4 to Non CRC4 interworking is done as described in ITU-T G. 706 Annex B.
Data Sheet
211
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers 1... The interworking is done according to ITU-T G. 706 with the exception that the synchronizer still searches for the multiframing even if the 400 ms timer is expired. Switching into doubleframe format is disabled. If FMR2.AXRA is set the remote alarm bit is active in the outgoing data stream until the multiframe is found.
Idle Channel Register (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 ICB1 ICB2 ICB3 ICB4 IC0...31...
IC0 IC8 IC16 IC24 IC1 IC9 IC17 IC25 IC2 IC10 IC18 IC26 IC3 IC11 IC19 IC27 IC4 IC12 IC20 IC28 IC5 IC13 IC21 IC29 IC6 IC14 IC22 IC30
0
IC7 IC15 IC23 IC31
(30) (31) (32) (33)
Idle Channel Selection Bits These bits define the channels (time slots) of the outgoing PCM frame to be altered. Assignments: IC0 time slot 0 IC1 time slot 1 ... IC31 time slot 31 0... 1... Normal operation. Idle channel mode. The contents of the selected time slot is overwritten by the idle channel code defined via register IDLE.
Note: Although time slot 0 can be selected by bit IC0, its contents is only altered if the transparent mode is selected (XSP.TT0).
Data Sheet
212
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Line Interface Mode 0 (Read/Write) Value after RESET: 00H 7 LIM0 XFB...
XFB XDOS SCL1 SCL0 EQON ELOS LL
0
MAS
(34)
Transmit Full Bauded Mode Only applicable for dual rail mode (bit LIM1.DRS = 1). 0...Output signals XDOP/XDON are half bauded (normal operation). 1...Output signals XDOP/XDON are full bauded.
Note: If CMI coding is selected (FMR0.XC1/0=01) this bit has to be cleared.
XDOS... Transmit Data Out Sense Only applicable for dual rail mode (bit LIM1.DRS = 1) 0... 1... Output signals XDOP/XDON are active low. Output XOID is active high (normal operation). Output signals XDOP/XDON are active high. Output XOID is active low.
Note: If CMI coding is selected (FMR0.XC1/0=01) this bit has to be cleared.
SCL1...0... Select Clock Output 00... Output frequency at pin CLKX: 2048 kHz active high 01... Output frequency at pin CLKX: 2048 kHz active low 10... Output frequency at pin CLKX: 4096 kHz active high 11... Output frequency at pin CLKX: 4096 kHz active low EQON... Receive Equalizer On 0... 1... ELOS -10 dB Receiver: short haul mode -43 dB Receiver, long haul mode
Enable Loss of Signal 0... 1... Normal operation. The extracted receive clock is output via pin RCLK. In case of loss of signal (FRS0.LOS = 1) the RCLK is set high. If FRS0.LOS = 0 the received clock is output via RCLK.
Data Sheet
213
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LL... Local Loop 0... 1... Normal operation Local loop active. The local loopback mode disconnects the receive lines RL1/RL2 or RDIP/RDIN from the receiver. Instead of the signals coming from the line the data provided by system interface are routed through the analog receiver back to the system interface. The unipolar bit stream is transmitted undisturbedly on the line. Receiver and transmitter coding must be identical. Operates in analog and digital line interface mode. In analog line interface mode data is transferred through the complete analog receiver.
MAS...
Master Mode 0... Slave mode 1 ... Master mode on. Setting this bit the DCO-R circuitry is frequency synchronized with the clock (2.048 MHz) supplied by SYNC. If this pin is connected to VSS the DCO-R circuitry is centered and no receive jitter attenuation is performed. The generated clocks are stable.
Line Interface Mode 1 (Read/Write) Value after RESET: 00H 7 LIM1 EFSC...
EFSC RIL2 RIL1 RIL0 TCD1 JATT RL
0
DRS
(35)
Enable Frame Synchronization Pulse 0... 1... The transmit clock is output via pin XCLK. Pin XCLK provides a 8 kHz frame synchronization pulse which is active high for one 2 MHz cycle (pulse width = 488 ns).
RIL2...0...
Receive Input Threshold Only valid if analog line interface in short haul mode is selected (LIM0.EQON=0 and LIM1.DRS=0). Loss of signal is declared if the voltage between pins RL1 and RL2 drops below the limits programmed via bits RIL2...0 and the received data stream has no transition for a period defined in the PCD register. The threshold where no signal is declared is programmable by the RIL2...0 bits, see Table 58 "DC Parameters" on page 336 for detail.
Note: LIM1.RIL(2:0) must be programmed before LIM0.EQON = 1 is set.
Data Sheet 214 2000-07
PEB 2255 FALC-LH V1.3
E1 Registers TCD1... Transmit Clock Generation DCO-X 0... 1... The transmit clock is sourced by the DCO-X circuitry, if the transmit elastic buffer is enabled. Reference clock is XTAL3. The transmit clock is sourced by the DCO-X circuitry, if the transmit elastic buffer is enabled. Reference clock is XTAL1. DCO-R cannot be used in this configuration.
JATT...RL...
Transmit Jitter Attenuator/Remote Loop 00... Normal operation. The transmit jitter attenuator is disabled. Transmit data bypasses the buffer. 01... Remote Loop active without transmit jitter attenuator enabled. Transmit data bypasses the buffer. 10... Transmit Slicer active. FALC54 compatibility: Transmit data received on port XDI is first written into the transmit jitter attenuator and then sent jitter free on ports XL1/2 or XDOP/N or XOID. For FALC-LH the same function even with a better support in case of slips is also provided if bits are set to SIC1.XBS1/0 = 10. 11... Remote Loop and jitter attenuator active. Received data from pins RL1/2 or RDIP/N or ROID is sent 'jitter free' on ports XL1/ 2 or XDOP/N or XOID. The dejittered clock is generated by the DCO-X circuitry.
DRS...
Dual Rail Select 0... 1... The ternary interface is selected. Multifunction ports RL1/2 and XL1/2 become analog in/outputs. The digital dual rail interface is selected. Received data is latched on multifunction ports RDIP/RDIN while transmit data is output on pins XDOP/XDON.
Data Sheet
215
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Pulse Count Detection Register (Read/Write) Value after RESET: 00H 7 PCD
PCD7
0
PCD0
(36)
PCD7...0...
Pulse Count Detection A LOS alarm is detected if the incoming data stream has no transitions for a programmable number T consecutive pulse positions. The number T is programmable via the PCD register and can be calculated as follows: T= 16 x (N+1) ; with 0 N 255. The maximum time is: 256 x 16 x 488 ns = 2 ms. Every detected pulse resets the internal pulse counter. The counter is clocked with the receive clock RCLK.
Pulse Count Recovery (Read/Write) Value after RESET: 00H 7 PCR
PCR7
0
PCR0
(37)
PCR7...0...
Pulse Count Recovery A LOS alarm is cleared if a pulse density is detected in the received bit stream. The number of pulses M which must occur in the predefined PCD time interval is programmable via the PCR register and can be calculated as follows: M = N+1 ; with 0 N 255. The time interval starts with the first detected pulse transition. With every received pulse a counter is incremented and the actual counter is compared with the contents of PCR register. If the pulse number is the PCR value the LOS alarm is reset; otherwise the alarm stays active. In this case the next detected pulse transition starts a new time interval.
Data Sheet
216
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Line Interface Mode 2 (Read/Write) Value after RESET: 00H 7 LIM2 DJA2...
DJA2 DJA1 SCF ELT LOS2
0
LOS1
(38)
Digital Jitter Attenuation DCO-X 0... 1... Jitter attenuation of the transmit clock is done using an external pullable crystal between pins XTAL3/4 Jitter attenuation of the transmit clock is done without using an external pullable crystal between pins XTAL3/4. Only a free running 16.384-MHz clock has top be provided at XTAL3 (+/50 ppm).
DJA1...
Digital Jitter Attenuation DCO-R 0... 1... Jitter attenuation of the system/transmit clock is done using an external pullable crystal between pins XTAL1/2 Jitter attenuation of the system/transmit clock is done without using an external pullable crystal between pins XTAL1/2. Only a free running 16.384-MHz clock has top be provided at XTAL1 (+/- 50 ppm).
SCF...
Select Corner Frequency of DCO-R Setting this bit reduces the corner frequency of the DCO-R circuit by the factor of ten to 0.2 Hz.
Note: Reducing the corner frequency of the DCO-R circuitry increases the synchronization time before the frequencies are synchronized.
ELT... Enable Loop-Timed 0... normal operation. 1... Transmit clock is generated from the clock supplied by XTAL3/ 4 which is synchronized with the extracted receive route clock. In this configuration the transmit elastic buffer has to be enabled. Refer to register XSW.XTM.
Data Sheet
217
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LOS2...1... Loss of Signal Recovery Condition 00... The LOS alarm is cleared if the predefined pulse density (register PCR) is detected during the time interval which is defined by register PCD. 01... Additionally to the recovery condition described above a LOS alarm is only cleared if the pulse density is fulfilled and no more than 15 contiguous zeros are detected during the recovery interval. (according to TR-NWT 499). 10... Clearing a LOS alarm is done if the pulse density is fulfilled and no more than 99 contiguous zeros are detected during the recovery interval. (according to TR-NWT 820). 11... Not assigned. Loop Code Register 1 (Read/Write) Value after RESET: 00H 7 LCR1 EPRM...
EPRM XPRBS LDC1 LDC0 LAC1 LAC0 FLLB
0
LLBP
(39)
Enable Pseudo Random Bit Sequence Monitor 0... 1... Pseudo random bit sequence (PRBS) monitor is disabled. PRBS monitor is enabled. Setting this bit enables incrementing the CEC2 error counter with each detected PRBS bit error. With any change of state of the PRBS internal synchronization status an interrupt ISR1.LLBSC is generated. The current status of the PRBS synchronizer is indicated by bit RSP.LLBAD. The expected PRBS sequence has to be selected by bit LCR1.LLBP. The PRBS status signal is output on pin RFSP, if FMR3.CFRZ=0 and LCR1.EPRM=1. It is set high, if the PRBS monitor is in synchronous state.
XPRBS...
Transmit Pseudo Random Bit Sequence A one in this bit position enables transmitting of a pseudo random bit sequence to the remote end. Depending on pit LLBP the PRBS is generated according to 215-1 or 220-1 with a maximum-14-zero restriction ( ITU-T O. 151).
Data Sheet
218
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LDC1...0... Length Deactivate (Down) Code These bits defines the length of the user programmable LLB deactivate code which is programmable in register LCR2. 00... length: 5 bit 01... length: 6 bit 10... length: 7 bit 11... length: 8 bit If a shorter pattern length is required, select a multiple of the required length and repeat the pattern in LCR2. LAC1...0... Length Activate (Up) Code These bits defines the length of the user programmable LLB activate code which is programmable in register LCR3. 00... length: 5 bit 01... length: 6 bit 10... length: 7 bit 11... length: 8 bit If a shorter pattern length is required, select a multiple of the required length and repeat the pattern in LCR3. FLLB... Framed Line Loopback/Invert PRBS Depending on bit LCR1.XPRBS this bit enables different functions: LCR1.XPRBS=0: 0... 1... The line loopback code is transmitted including framing bits. The line loopback code is transmitted unframed.
Invert PRBS LCR1.XPRBS=1: 0... 1... The generated PRBS is transmitted not inverted. The PRBS is transmitted inverted.
Data Sheet
219
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LLBP... Line Loopback Pattern LCR1.XPRBS=0 0... 1... Fixed line loopback code : 001 (loop down) or 00001 (loop up). Enable user programmable line loopback code via register LCR2/3. 215 -1 220 -1
LCR1.XPRBS=1 or LCR1.EPRM = 1 0... 1...
Loop Code Register 2 (Read/Write) Value after RESET: 00H 7 LCR2
LDC7
0
LDC0
(3A)
LDC7...0...
Line Loopback Deactivate Code If enabled by bit FMR3.XLD the LLB deactivate code is repeated automatically until the LLB generator is stopped. Transmit data is overwritten by the LLB code. LDC0 is transmitted last. If the selected code length is less than 8 bit, the leftmost bits of LCR2 are ignored. For correct operations bit LCR1.XPRBS has to be cleared.
Loop Code Register 3 (Read/Write) Value after RESET: 00H 7 LCR3
LAC7
0
LAC0
(3B)
LAC7...0...
Line Loopback Activate Code If enabled by bit FMR3.XLU the LLB activate code is repeated automatically until the LLB generator is stopped. Transmit data is overwritten by the LLB code. LAC0 is transmitted last. If the selected code length is less than 8 bit, the leftmost bits of LCR3 are ignored. For correct operations bit LCR1.XPRBS has to be cleared.
Data Sheet
220
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers System Interface Control 1 (Read/Write) Value after RESET: 00H 7 SIC1 SRSC...
SRSC RBS1 RBS0 SXSC XBS1
0
XBS0
(3C)
Select Receive System Clock 0... expected frequency on pin SCLKR: 8.192 MHz Calculation of delay time T (SCLKR cycles) depends on the value X of the "Receive Counter Offset" register RC1/0 and of the programming of RC0.RCOS. Delay T is an even number in the range of 0 to 1022: RCOS = 0: X = 5 - T/2 if 0 T 10 X = 517 - T/2 if 12 T 1022 Delay T is an odd number in the range of 1 to 1023: RCOS = 1: X = 5 - (T - 1)/2 if 1 T 11 X = 517 - (T - 1)/2 if 13 T 1023 1... expected frequency on pin SCLKR: 2.048 MHz Calculation of delay time T (SCLKR cycles) depends on the value X of the "Receive Counter Offset" register RC1/0: T = (260 - x/2) mod 256 Delay time T = time between beginning of time slot 0 at RDO and the initial edge of SCLKR after SYPR goes active. If this bit is set FMR1.IMOD must be set also and bit RC0.0 must be cleared.
RBS1...0...
Receive Buffer Size 00... buffer size : 2 frames 01... buffer size : 1 frame 10... buffer size : 92 bits 11... bypass of receive elastic store
Data Sheet
221
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers SXSC... Select Transmit System Clock 0... expected frequency on pin SCLKX: 8.192 MHz Calculation of delay time T (SCLKX cycles) depends on the value X of the "Transmit Counter Offset" register XC1/0 and of the programming of XC1.XCOS: Delay T is an even number in the range of 0 to 1022: XCOS = 0: X = 498 - T/2 if 0 T 996 X = 1010 - T/2 if 998 T 1022 Delay T is an odd number in the range of 1 to 1023: XCOS = 1: X = 498 - (T - 1)/2 if 1 T 997 X = 1010 - (T - 1)/2 if 999 T 1023 1... expected frequency on pin SCLKX: 2.048 MHz Calculation of delay time T (SCLKX cycles) depends on the value X of the "Transmit Counter Offset" register XC1/0: T = (507 - x/2) mod 256 Delay time T = time between beginning of time slot 0 at XDI and the initial edge of SCLKX after SYPX goes active. If this bit is set FMR1.IMOD must be set also and bit XC0.0 must be cleared. XBS1...0... Transmit Buffer Size 00... By-pass of transmit elastic store 01... buffer size : 1 frame 10... buffer size : 2 frames 11... buffer size : 92 bits
Data Sheet
222
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers System Interface Control 2 (Read/Write) Value after RESET: 00H 7 SIC2 FFS ...
FFS SSF
0
SRFSO
(3D)
Force Freeze Signaling Setting this bit disables updating of the receive signaling buffer and current signaling information is frozen. After resetting this bit and receiving a complete superframe updating of the signaling buffer is started again. The freeze signaling status could be also automatically generated by detecting the Loss of Signal alarm or a Loss of CAS Frame Alignment or a receive slip (only if external register access via RSIG is enabled). This automatic freeze signaling function is logically ored with this bit. The current internal freeze signaling status is available in register SIS.SFS.
SSF ...
Serial Signaling Format Only applicable if pin function R/XSIG is selected. 0... 1... Bits 1...4 in all time slots except time slots 0 +16 are cleared. Bits 1...4 in all time slots except time slots 0 +16 are set high.
SRFSO...
Select Receive Frame Sync Output 0... 1... Pin SYPR: Input Pin SYPR: Output Setting this bit disables the timeslot assigner. With register RC1/0 the receive frame marker could be activated during any bit position of the current frame. This marker is active high for 2.048 MHz cycle and is clocked off with the falling edge of SCLKR or RCLK if the receive elastic store is bypassed. If no SYPR has been activated since RESET or software reset CMDR.RES the outputs of the receive system interface assume an arbitrary alignment. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on SCLKR and on the bit position BP which should be marked: X = (2 + 2BP) mod 512, for SCLKR = 2.048 MHz
Data Sheet
223
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Line Interface Mode 3 (Read/Write) Value after RESET: 00H 7 LIM3 CSC...
CSC
0
ESY
(3E)
Configure System Clock CLK16M/CLK12M 0... 1... Dejittered XTAL1 or XTAL3 clock is output on CLK16M/ CLK12M. Buffered XTAL1 or XTAL3 clock is output on CLK16M/ CLK12M.
ESY...
External Synchronization of DCO-X Together with bit LOOP.SPN the functionality of pin 80 is defined: Programming of LOOP.SPN and LIM3.ESY and the corresponding pin function is shown below. SPN/ESY: 00... function of pin 80 XSIG: If SIC3.TTRF = 1, transmit data from the system interface. No input function defined for SIC3.TTRF = 0. 01... function of pin 80 SYNC2: external synchronization input for the DCO-X circuitry. 10... function of pin 80 ROID: Receive Optical Interface Data. 11... function of pin 80 XSIG: Transmit signaling input from the transmit system interface.
System Interface Control 3 (Read/Write) Value after RESET: 00H 7 SIC3 TTRF... TTR Register Function Setting this bit the function of the TTR1...4 registers are changed. A one in each TTR register forces the XSIGM marker high for the respective time slot and controls sampling of the time slots provided on pin XSIG. XSIG is selected by LOOP.SPN = 0 and LIM3.ESY = 0.
TTRF
0
DAF
(40)
Data Sheet
224
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers DAF... Disable Automatic Freeze Valid only if serial signaling access is enabled. 0... Signaling is automatically frozen if one of the following alarms occurred: Loss of Signal (FRS0.LOS), Loss of CAS Frame Alignment (FRS1.TS16LFA) or receive slips (ISR3.RSP/N). Automatic freezing of signaling data is disabled. Updating of the signaling buffer is also done if one of the above described alarm conditions is active. However, updating of the signaling buffer is stopped if SIC2.FFS is set.
1...
Disable Error Counter (Write) Value after RESET: 00H 7 DEC DCEC3... DCEC2... DCEC1... DEBC ... DCVC... DFEC...
DCEC3 DCEC2 DCEC1 DEBC DCVC
0
DFEC
(60)
Disable CRC Error Counter 3 Disable CRC Error Counter 2 Disable CRC Error Counter Disable Errored Block Counter Disable Code Violation Counter Disable Framing Error Counter These bits are only valid if FMR1.ECM is cleared. They have to be set before reading the error counters. They are reset automatically if the corresponding error counter high byte has been read. With the rising edge of these bits the error counters are latched and then cleared.
Data Sheet
225
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Transmit CAS Registers (Write) Value after RESET: not defined 7 XS1 XS2 XS3 XS4 XS5 XS6 XS7 XS8 XS9 XS10 XS11 XS12 XS13 XS14 XS15 XS16
0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 X A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 Y B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 X C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30
0
X D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B) (7C) (7D) (7E) (7F)
Transmit CAS Register 1...16 The transmit CAS register access is enabled by setting bit XSP.CASEN = 1. Each register except XS1 contains the CAS bits for two time slots. With the transmit multiframe begin ISR1.XMB the contents of these registers is copied into a shadow register. The contents is sent out subsequently in the time slots 16 of the outgoing data stream.
Note: If ISR1.XMB is not used and the write access to these registers is done exact in that moment when this interrupt is generated, data may be lost.
XS1.7 is sent out first and XS16.0 is sent last. The transmit multiframe begin interrupt (XMB) requests that these registers should be serviced. If requests for new information are ignored, current contents is repeated. XS1 has to be programmed with the multiframe pattern. This pattern must always stay low, otherwise the remote end loses its synchronization. With setting the Y-bit a remote alarm is transmitted to the far end. The Y-bit is logically ored with bit CCR1.XTS16RA. The X bits (Spare bits) should be set if they are not used.
Data Sheet
226
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
If access to these registers is done without control of the interrupt ISR1.XMB the registers should be written twice to avoid an internal data transfer error.
Note: A software reset (CMDR.XRES) resets these registers.
Data Sheet
227
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
9.3
*
E1 Status Register Addresses
E1 Status Register Address Arrangement Register Type Comment RFIFO RFIFO RES FRS0 FRS1 RSW RSP FECL FECH CVCL CVCH CEC1L CEC1H EBCL EBCH CEC2L CEC2H CEC3L CEC3H RSA4 RSA5 RSA6 RSA7 RSA8 RSA6S SIS RSIS RBCL RBCH R R R R R R R R R R R R R R R R R R R R R R R R R R R R R Receive FIFO Receive FIFO Receive Equalizer Status Framer Receive Status 0 Framer Receive Status 1 Receive Service Word Receive Spare Bits Framing Error Counter Low Framing Error Counter High Code Violation Counter Low Code Violation Counter High CRC Error Counter 1 Low CRC Error Counter 1 High E-Bit Error Counter Low E-Bit Error Counter High CRC Error Counter 2 Low CRC Error Counter 2 High CRC Error Counter 3 Low CRC Error Counter 3 High Receive SA4 Bit Register Receive SA5 Bit Register Receive SA6 Bit Register Receive SA7 Bit Register Receive SA8 Bit Register Receive SA6 Bit Status Register Signaling Status Register Receive Byte Control Low Receive Byte Control High
228
Table 52 00 01 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 64 65 66 67
Data Sheet
Address
Page 230 230 230 231 234 236 236 238 238 239 239 240 240 241 241 242 242 243 243 244 244 244 244 244 245 246 248 249
2000-07
Receive Signaling Status Register 247
PEB 2255 FALC-LH V1.3
E1 Registers Table 52 68 69 6A 6B 6C 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F E1 Status Register Address Arrangement (cont'd) Register Type Comment ISR0 ISR1 ISR2 ISR3 ISR5 GIS VSTR RS1 RS2 RS3 RS4 RS5 RS6 RS7 RS8 RS9 RS10 RS11 RS12 RS13 RS14 RS15 RS16 R R R R R R R R R R R R R R R R R R R R R R R Interrupt Status Register 0 Interrupt Status Register 1 Interrupt Status Register 2 Interrupt Status Register 3 Interrupt Status Register 5 Global Interrupt Status Version Status Receive CAS Register 1 Receive CAS Register 2 Receive CAS Register 3 Receive CAS Register 4 Receive CAS Register 5 Receive CAS Register 6 Receive CAS Register 7 Receive CAS Register 8 Receive CAS Register 9 Receive CAS Register 10 Receive CAS Register 11 Receive CAS Register 12 Receive CAS Register 13 Receive CAS Register 14 Receive CAS Register 15 Receive CAS Register 16 Page 249 251 253 254 256 256 256 257 257 257 257 257 257 257 257 257 257 257 257 257 257 257 257
Address
Data Sheet
229
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers
9.4
Detailed Description of E1 Status Registers
Receive FIFO (Read) 7 RFIFO
RF7
0
RF0
(00/01)
Reading data from RFIFO can be done in an 8-bit (byte) or 16-bit (word) access depending on the selected bus interface mode. The LSB is received first from the serial interface. The size of the accessible part of RFIFO is determined by programming the bits CCR1.RFT 1 ... 0 (RFIFO threshold level). It can be reduced from 32 bytes (RESET value) down to 2 bytes (four values: 32, 16, 4, 2 bytes). Data Transfer Up to 32 bytes/16 words of received data can be read from the RFIFO following an RPF or an RME interrupt. RPF Interrupt: A fixed number of bytes/words to be read (32, 16, 4, 2 bytes). The message is not yet complete. RME Interrupt: The message is completely received. The number of valid bytes is determined by reading the RBCL, RBCH registers. RFIFO is released by issuing the "Receive Message Complete" command (RMC). Receive Equalizer Status (Read) 7 RES EV1...0...
EV1 EV0 RES4 RES3 RES2 RES1
0
RES0
(4B)
Equalizer Status Valid These bits informs the user about the current state of the receive equalization network. Only valid if LIM1.EQON is set. 00... equalizer status not valid, still adapting 01... equalizer status valid 10... equalizer status not valid 11... equalizer status valid but high noise floor
Data Sheet
230
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers RES4...0... Receive Equalizer Status The current line attenuation status in steps of about 1.7 dB are displayed in these bits. Only valid if bits EV1...0 = 01 and LIM1.EQON=1. Accuracy: +/- 2 digit, based on temperature influence and noise amplitude variations. 00000... attenuation (0 dB) ... 11001... max. attenuation Framer Receive Status Register 0 (Read) 7 FRS0 LOS...
LOS AIS LFA RRA AUXP NMF LMFA
0 (4C)
Loss of Signal Detection: This bit is set when the incoming signal has "no transitions" (analog interface) or logical zeros (digital interface) in a time interval of T consecutive pulses, where T is programmable by register PCD. Total account of consecutive pulses: 16 < T < 4096. Analog interface: The receive signal level where "no transition" is declared is defined by the programmed value of LIM1.RIL2...0 (short haul mode only, LIM1.EQON = 0). Recovery: Analog interface: The bit is reset in short haul mode when the incoming signal has transitions with signal levels greater than the programmed receive input level (LIM1.RIL2...0; short haul mode only) for at least M pulse periods defined by register PCR in the PCD time interval. Digital interface: The bit is reset when the incoming data stream contains at least M ones defined by register PCR in the PCD time interval. With the rising edge of this bit an interrupt status bit (ISR2.LOS) is set. For additional recovery conditions see register LIM2.LOS2...1. The bit is also set during alarm simulation and reset if FMR0.SIM is cleared and no alarm condition exists.
Data Sheet
231
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers AIS... Alarm Indication Signal The function of this bit is determined by FMR0.ALM. FMR0.ALM = 0: This bit is set when two or less zeros in the received bit stream are detected in a time interval of 250 s and the FALC(R)-LH is in asynchronous state (FRS0.LFA = 1). The bit is reset when no alarm condition is detected (according to ETSI standard). This bit is set when the incoming signal has two or less Zeros in each of two consecutive double frame period (512 bits). This bit is cleared when each of two consecutive doubleframe periods contain three or more zeros or when the frame alignment signal FAS has been found. (according to ITU-T G.775 standard)
FMR0.ALM = 1:
The bit is also set during alarm simulation and reset if FMR0.SIM is cleared and no alarm condition exists. With the rising edge of this bit an interrupt status bit (ISR2.AIS) is set. LFA... Loss of Frame Alignment This bit is set after detecting 3 or 4 consecutive incorrect FAS words or 3 or 4 consecutive incorrect service words (can be disabled). With the rising edge of this bit an interrupt status bit (ISR2.LFA) is set. The specification of the loss of sync conditions is done via bits RC1.SWD and RC1.ASY4. After loss of synchronization, the frame aligner resynchronizes automatically. The following conditions have to be detected to regain synchronous state: - The presence of the correct FAS word in frame n. - The presence of the correct service word (bit 2 = 1) in frame n + 1. - For a second time the presence of a correct FAS word in frame n + 2. The bit is cleared when synchronization has been regained (directly after the second correct FAS word of the procedure described above has been received). If the CRC-multiframe structure is enabled by setting bit FMR2.RFS1, multiframe alignment is assumed to be lost if pulse-frame synchronization has been lost. The resynchronization procedure for multiframe alignment starts after the bit FRS0.LFA has been cleared.
Data Sheet
232
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Multiframe alignment has been regained if two consecutive CRCmultiframes have been received without a framing error (refer to FRS0.LMFA). The bit is set during alarm simulation and reset if FMR0.SIM is cleared and no alarm condition exists. If bit FRS0.LFA is cleared a loss of frame alignment recovery interrupt status ISR2.FAR is generated. RRA... Receive Remote Alarm Set if bit 3 of the received service word is set. An alarm interrupt status ISR2.RA can be generated if the alarm condition is detected. FRS0.RRA is cleared when no alarm is detected. At the same time a remote alarm recovery interrupt status ISR2.RAR is generated. The bit RSW.RRA has the same function. Both status and interrupt status bits are set during alarm simulation. AUXP... Auxiliary Pattern Indication This bit is set when 254 or more `10' are received in a time interval of 250 s and the frame alignment is lost FRS0.LFA = 1. An interrupt status ISR3.API is generated if this bit is set. The bit is reset when no auxiliary pattern condition is detected. The bit is also set during alarm simulation and reset if FMR0.SIM is cleared and no alarm condition exists. NMF... No Multiframe Alignment Found This bit is only valid if the CRC4 interworking is selected (FMR2.RFS1/0 = 11). Set if the multiframe pattern could not be detected in a time interval of 400 ms after the framer has reached the doubleframe synchronous state. The receiver is then automatically switched to doubleframe format. This bit is reset if the basic framing has been lost.
Data Sheet
233
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LMFA... Loss of Multiframe Alignment Not used in doubleframe format (FMR2.RFS1 = 0). In this case, LMFA is set. In CRC-multiframe mode (FMR2.RFS1 = 1), this bit is set - if force resynchronization is initiated by setting bit FMR0.FRS, or - if multiframe force resynchronization is initiated by setting bit FMR1.MFCS, or - if pulseframe alignment has been lost (FRS0.LFA). It is reset if two CRC-multiframes have been received at an interval of n x 2 ms (n = 1, 2, 3...) without a framing error. If bit FRS0.LMFA is cleared a loss of multiframe alignment recovery interrupt status ISR2.MFAR is generated.
Framer Receive Status Register 1 (Read) 7 FRS1 TS16RA...
TS16RA TS16LOS TS16AIS TS16LFA XLS
0
XLO
(4D)
Receive Timeslot 16 Remote Alarm This bit contains the actual information of the received remote alarm bit RS1.2 in time slot 16. Setting and resetting of this bit causes an interrupt status change ISR3.RA16.
TS16LOS...
Receive Timeslot 16 Loss of Signal This bit is set if the incoming TS16 data stream contains always zeros for at least 16 contiguously received time slots. A one in a time slot 16 resets this bit.
TS16AIS...
Receive Timeslot 16 Alarm Indication Signal The detection of the alarm indication signal in timeslot 16 is according to ITU-T G.775. This bit is set if the incoming TS16 contains less than 4 zeros in each of two consecutive TS16 multiframe periods. This bit is cleared if two consecutive received CAS multiframe periods contains more than 3 zeros or the multiframe pattern was found in each of them. This bit is cleared if TS0 synchronization is lost.
Data Sheet
234
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers TS16LFA... Receive Timeslot 16 Loss of Multiframe Alignment 0... 1... The CAS controller is in synchronous state after frame alignment is accomplished. This bit is set if the framing pattern `0000' in 2 consecutive CAS multiframes were not found or in all TS16 of the preceding multiframe all bits were reset. An interrupt ISR3.LMFA16 is generated.
XLS...
Transmit Line Short Significant only if the ternary line interface is selected by LIM1.DRS=0. 0... 1... Normal operation. No short is detected. The XL1 and XL2 are shortened for at least 32 pulses. As a reaction of the short the pins XL1 and XL2 are automatically forced into a high impedance state if bit XPM2.DAXLT is reset. After 32 consecutive pulse periods the outputs XL1/2 are activated again and the internal transmit current limiter is checked. If a short between XL1/2 is still further active the outputs XL1/2 are in high impedance state again. When the short disappears pins XL1/2 are activated automatically and this bit is reset. With any change of this bit an interrupt ISR1.XLSC is generated. In case of XPM2.XLT is set this bit is frozen.
XLO...
Transmit Line Open 0... 1... Normal operation This bit is set if at least 32 consecutive zeros were sent via pins XL1/XL2 or XDOP/XDON. This bit is reset with the first transmitted pulse. With the rising edge of this bit an interrupt ISR1.XLSC is set. In case of XPM2.XLT is set this bit is frozen.
Data Sheet
235
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Service Word Pulseframe (Read) 7 RSW RSI...
RSI RRA RY0 RY1 RY2 RY3
0
RY4
(4E)
Receive Spare Bit for International Use First bit of the received service word. It is fixed to one if CRCmultiframe mode is enabled.
RRA...
Receive Remote Alarm Equivalent to bit FRS0.RRA.
RY0...RY4...
Receive Spare Bits for National Use (Y-Bits, Sn-Bits, Sa-Bits)
Receive Spare Bits/Additional Status (Read) 7 RSP SI1...SI2...
SI1 SI2 LLBDD LLBAD RSIF RS13
0
RS15
(4F)
Submultiframe Error Indication 1, 2 Not valid if doubleframe format is enabled. In this case, both bits are set. When using CRC-multiframe format these bits are set to 0... If multiframe alignment has been lost, or if the last multiframe has been received with CRC error(s). SI1 flags a CRC error in last sub-multiframe 1, SI2 flags a CRC error in last sub-multiframe 2. If at multiframe synchronous state last assigned sub-multiframe has been received without a CRC error.
1...
Both flags are updated with beginning of every received CRC multiframe. If automatic transmission of sub-multiframe status is enabled by setting bit XSP.AXS, above status information is inserted automatically in Si -bit position of every outgoing CRC multiframe (under the condition that time slot 0 transparent modes are both disabled): SI1 Si -bit of frame 13, SI2 S i -bit of frame 15.
Data Sheet
236
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LLBDD... Line Loop Back Deactivation Signal Detected This bit is set in case the LLB deactivate signal is detected and then received over a period of more than 25 ms with a bit error rate less than 1/100. The bit remains set as long as the bit error rate does not exceed 1/100. If framing is aligned, the timeslot 0 is not taken into account for the error rate calculation. Any change of this bit causes a LLBSC interrupt. LLBAD... Line Loop Back Activation Signal Detected Depending on bit LCR1.EPRM the source of this status bit changed. LCR1.EPRM=0: This bit is set in case the LLB activate signal is detected and then received over a period of more than 25 ms with a bit error rate less than 1/100. The bit remains set as long as the bit error rate does not exceed 1/100. If framing is aligned, the timeslot 0 is not taken into account for the error rate calculation. Any change of this bit causes a LLBSC interrupt. PRBS Status LCR1.EPRM=1: The current status of the PRBS synchronizer is indicated in this bit. It is set high if the synchronous state is reached even in the presence of a BER 1/10. A data stream containing all zeros with/without framing bits is also a valid pseudo random bit sequence. The same applies to an all ones data stream. RSIF... Receive Spare Bit for International Use (FAS Word) First bit in FAS-word. Used only in doubleframe format, otherwise fixed to `1'. RS13... Receive Spare Bit (Frame 13, CRC Multiframe) First bit in service word of frame 13. Significant only in CRCmultiframe format, otherwise fixed to `0'. This bit is updated with beginning of every received CRC multiframe. RS15... Receive Spare Bit (Frame 15, CRC Multiframe) First bit in service word of frame 15. Significant only in CRCmultiframe format, otherwise fixed to `0'. This bit is updated with beginning of every received CRC multiframe.
Data Sheet
237
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Framing Error Counter (Read) 7 FECL
FE7
0
FE0
(50)
7 FECH
FE15
0
FE8
(51)
FE15...0...
Framing Errors This 16-bit counter is incremented when a FAS word has been received with an error. Framing errors are counted during basic frame synchronous state only (but even if multiframe synchronous state is not reached yet). During alarm simulation, the counter is incremented every 250 s up to its saturation. The error counter doesn't roll over. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DFEC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DFEC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
238
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Code Violation Counter (Read) 7 CVCL
CV7
0
CV0
(52)
7 CVCH
CV15
0
CV8
(53)
CV15...0...
Code Violations No function if NRZ code has been enabled. If the HDB3 or the CMI code is selected, the 16-bit counter is incremented when violations of the HDB3 code are detected. The error detection mode is determined by programming the bit FMR0.EXTD. If simple AMI coding is enabled (FMR0.RC0/1 = 10) all bipolar violations are counted. The error counter doesn't roll over. During alarm simulation, the counter is incremented every four bits received up to its saturation. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCVC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCVC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
239
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers CRC Error Counter 1 (Read) 7 CEC1L
CR7
0
CR0
(54)
7 CEC1H
CR15
0
CR8
(55)
CR15...0...
CRC Errors No function if doubleframe format is selected. In CRC-multiframe mode, the 16-bit counter is incremented when a CRC-submultiframe has been received with a CRC error. CRC errors don't count during asynchronous state. The error counter doesn't roll over. During alarm simulation, the counter is incremented once per submultiframe up to its saturation. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCEC1 has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCEC1 is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
240
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers E Bit Error Counter (Read) 7 EBCL
EB7
0
EB0
(56)
7 EBCH
EB15
0
EB8
(57)
EB15...0...
E-Bit Errors If doubleframe format is selected, FEBEH/L has no function. If CRCmultiframe mode is enabled, FEBEH/L works as submultiframe error indication counter (16 bits) which counts zeros in Si-bit position of frame 13 and 15 of every received CRC multiframe. The error counter doesn't roll over. During alarm simulation, the counter is incremented once per submultiframe up to its saturation. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DEBC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DEBC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
241
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers CRC Error Counter 2 (Read) 7 CEC2L
CC7
0
CC0
(58)
7 CEC2H
CC15
0
CC8
(59)
CC15...0...
CRC Error Counter (Reported from TE via Sa6 -Bit) Depending on bit LCR1.EPRM the error counter increment is selected: LCR1.EPRM=0: If doubleframe format is selected, CEC2H/L has no function. If CRCmultiframe mode is enabled, CEC2H/L works as SA6 Bit error indication counter (16 bits) which counts the SA6 Bit sequence 0001 and 0011in every received CRC submultiframe. Incrementing the counter is only possible in the multiframe synchronous state FRS0.LMFA = 0. SA6 Bit sequence: SA61, SA62, SA63, SA64 = 0001 or 0011 where SA61 is received in frame 1 or 9 in every multiframe. Pseudo Random Bit Sequence Error Counter LCR1.EPRM=1: This 16-bit counter is incremented with every received PRBS bit error in the PRBS synchronous state RSP.LLBAD = 1. The error counter doesn't roll over. During alarm simulation, the counter is incremented once per submultiframe up to its saturation. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCEC2 has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCEC2 is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
242
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers CRC Error Counter 3 (Read) 7 CEC3L
CE7
0
CE0
(5A)
7 CEC3H
CE15
0
CE8
(5B)
CE15...0...
CRC Error Counter (detected at T Ref. Point via Sa6 -Bit) If doubleframe format is selected, CEC3H/L has no function. If CRCmultiframe mode is enabled, CEC3H/L works as SA6 Bit error indication counter (16 bits) which counts the SA6 Bit sequence 0010 and 0011in every received CRC submultiframe. Incrementing the counter is only possible in the multiframe synchronous state FRS0.LMFA = 0. SA6 Bit sequence: SA61, SA62, SA63, SA64 = 0010 or 0011 where SA61 is received in frame 1 or 9 in every multiframe. Clearing and updating the counter is done according to bit FMR1.ECM. During alarm simulation, the counter is incremented once per multiframe up to its saturation. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCEC3 has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCEC3 is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
243
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Sa4-Bit Register (Read) 7 RSA4 RSA5 RSA6 RSA7 RSA8
RS47 RS57 RS67 RS77 RS87
0
RS40 RS50 RS60 RS70 RS80
(5C) (5D) (5E) (5F) (60)
RS47...40... RS57...50... RS67...60... RS77...70... RS87...80...
Receive Sa4-Bit Data (Y-Bits) Receive Sa5-Bit Data Receive Sa6-Bit Data Receive Sa7-Bit Data Receive Sa8-Bit Data This register contains the information of the eight SAx bits (x = 4...8) of the previously received CRC multiframe. These registers are updated with every multiframe begin interrupt ISR0.RMB. RS40 is received in bit-slot 4 of every service word in frame 1, RS47 in frame 15 RS50 is received in bit-slot 5, time slot 0, frame 1, RS57 in frame 15 RS60 is received in bit-slot 6, time slot 0, frame 1, RS67 in frame 15 RS70 is received in bit-slot 7, time slot 0, frame 1, RS77 in frame 15 RS80 is received in bit-slot 8, time slot 0, frame 1, RS87 in frame 15 Valid if CRC multiframe format is enabled by setting bits FMR2.RFS1 = 1 or FMR2.RFS1/0 = 01 (Doubleframe format).
Data Sheet
244
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Sa6-Bit Status (Read) 7 RSA6S
S_X S_F S_E S_C S_A
0
S_8
(61)
Four consecutive received SA6-bits are checked on the by ETS 300233 defined SA6-bit combinations. The FALC(R)-LH detects the following "fixed" SA6-bit combinations: SA61,SA62,SA63,SA64=1000; 1010; 1100; 1110; 1111. All other possible 4 bit combinations are grouped to status "X". A valid SA6-bit combination must occur three times in a row. The corresponding status bit in this register is set. Even if the detected status is active for a short time the status bit remains active until this register is read. Reading the register resets all pending status information. With any change of state of the SA6-bit combinations an interrupt status ISR0.SA6SC is generated. During the basic frame asynchronous state updating of this register and interrupt status ISR0.SA6SC is disabled. In multiframe format the detection of the SA6-bit combinations can be done either synchronous or asynchronous to the submultiframe (FMR3.SA6SY). In synchronous detection mode updating of register RSA6S is done in the multiframe synchronous state (FRS0.LMFA=0). In asynchronous state detection mode updating is independent of the multiframe synchronous state. S_X... Receive Sa6-Bit Status_X If none of the fixed SA6-bit combinations are detected this bit is set. S_F... Receive Sa6-Bit Status: "1111" Receive SA6-bit status "1111" is detected for three times in a row in the SA6-bit positions. S_E... Receive Sa6-Bit Status: "1110" Receive SA6-bit status "1110" is detected for three times in a row in the SA6-bit positions. S_C... Receive Sa6-Bit Status: "1100" Receive SA6-bit status "1100" is detected for three times in a row in the SA6-bit positions.
Data Sheet
245
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers S_A... Receive Sa6-Bit Status: "1010" Receive SA6-bit status "1010" is detected for three times in a row in the SA6-bit positions. S_8... Receive Sa6-Bit Status: "1000" Receive SA6-bit status "1000" is detected for three times in a row in the SA6-bit positions. Signaling Status Register (Read) 7 SIS XDOV...
XDOV XFW XREP RLI CEC SFS
0 (64)
Transmit Data Overflow More than 32 bytes have been written to the XFIFO. This bit is reset by: - a transmitter reset command XRES - or when all bytes in the accessible half of the XFIFO have been moved in the inaccessible half.
XFW...
Transmit FIFO Write Enable Data can be written to the XFIFO.
XREP...
Transmission Repeat Status indication of CMDR.XREP.
RLI...
Receive Line Inactive Neither FLAGs as Interframe Time Fill nor frames are received via the signaling timeslot.
CEC...
Command Executing 0... 1... No command is currently executed, the CMDR register can be written to. A command (written previously to CMDR) is currently executed, no further command can be temporarily written in CMDR register.
Note: CEC is active at most 2.5 periods of the current system data rate.
SFS... Status Freeze Signaling 0... 1...
Data Sheet
freeze signaling status inactive. freeze signaling status active
246 2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive Signaling Status Register (Read) 7 RSIS
VFR RDO CRC16 RAB HA1 HA0
0
LA
(65)
RSIS relates to the last received HDLC frame; it is copied into RFIFO when end-of-frame is recognized (last byte of each stored frame). VFR... Valid Frame Determines whether a valid frame has been received. 1... 0... valid HDLC frame invalid HDLC frame
An invalid frame is either - a frame which is not an integer number of 8 bits (n x 8 bits) in length (e.g. 25 bits), or - a frame which is too short taking into account the operation mode selected via MODE (MDS2...0) and the selection of receive CRC ON/OFF (CCR3.RCRC) as follows: * MDS2...0 = 011 (16 bit Address), RCRC = 0 : 4 bytes; RCRC = 1 : 3-4 bytes * MDS2...0 = 010 (8 bit Address), RCRC = 0 : 3 bytes; RCRC = 1 : 2-3 bytes
Note: Shorter frames are not reported.
RDO... Receive Data Overflow A RFIFO data overflow has occurred during reception of the frame. Additionally, an interrupt can be generated (refer to ISR1.RDO/ IMR1.RDO). CRC16... CRC16 Compare/Check 0... 1... RAB... CRC check failed; received frame contains errors. CRC check o.k.; received frame is error-free.
Receive Message Aborted The received frame was aborted from the transmitting station. According to the HDLC protocol, this frame must be discarded by the receiver station.
Data Sheet
247
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers HA1...0... High Byte Address Compare Significant only if 2-byte address mode has been selected. In operating modes which provide high byte address recognition, the FALC(R)-LH compares the high byte of a 2-byte address with the contents of two individually programmable registers (RAH1, RAH2) and the fixed values FEH and FCH (broadcast address). Dependent on the result of this comparison, the following bit combinations are possible: 00... RAH2 has been recognized 01... Broadcast address has been recognized 10... RAH1 has been recognized C/R = 0 (bit 1) 11... RAH1 has been recognized C/R = 1 (bit 1)
Note: If RAH1, RAH2 contain identical values, a match is indicated by `10' or `11'.
LA... Low Byte Address Compare Significant in HDLC modes only. The low byte address of a 2-byte address field, or the single address byte of a 1-byte address field is compared with two registers. (RAL1, RAL2). 0... 1... RAL2 has been recognized RAL1 has been recognized
Receive Byte Count Low (Read) 7 RBCL
RBC7
0
RBC0
(66)
Together with RBCH (bits RBC11...8) indicates the length of a received frame (1...4095 bytes). Bits RBC4-0 indicate the number of valid bytes currently in RFIFO. These registers must be read by the CPU following an RME interrupt.
Data Sheet
248
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Received Byte Count High (Read)
7 RBCH OV... Counter Overflow More than 4095 bytes received. RBC11...8... Receive Byte Count (most significant bits)
OV RBC11 RBC10 RBC9
0
RBC8
(67)
Together with RBCL (bits RBC7...RBC0) indicate the length of the received frame.
Interrupt Status Register 0 (Read) Value after RESET: 00H 7 ISR0
RME RFS T8MS RMB CASC CRC4 SA6SC
0
RPF
(68)
All bits are reset when ISR0 is read. If bit IPC.VIS is set, interrupt statuses in ISR0 may be flagged although they are masked via register IMR0. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. RME... Receive Message End One complete message of length less than 32 bytes, or the last part of a frame at least 32 bytes long is stored in the receive FIFO, including the status byte. The complete message length can be determined reading the RBCH, RBCL registers, the number of bytes currently stored in RFIFO is given by RBC4...0. Additional information is available in the RSIS register.
Data Sheet
249
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers RFS... Receive Frame Start This is an early receiver interrupt activated after the start of a valid frame has been detected, i.e. after an address match (in operation modes providing address recognition), or after the opening flag (transparent mode 0) is detected, delayed by two bytes. After an RFS interrupt, the contents of * RSIS-bits 3...1 is valid and can be read by the CPU. T8MS... Receive Time Out 8 msec Only active if multiframing is enabled. The framer has found the doubleframing (basic framing) FRS0.LFA = 0 and is searching for the multiframing. This interrupt is set to indicate that no multiframing could be found within a time window of 8 msec. In multiframe synchronous state this interrupt is not generated. Refer also to Floating multiframe alignment window. RMB... Receive Multiframe Begin This bit is set with the beginning of a received CRC multiframe related to the internal receive line timing. In CRC multiframe format FMR2.RFS1 = 1 or in doubleframe format FMR2.RFS1...0 = 01 this interrupt occurs every 2 msec. If FMR2.RFS1...0 = 00 this interrupt is generated every doubleframe (512 bits). CASC... Received CAS Information Changed This bit is set with the updating of a received CAS multiframe information in the registers RS1...16. If the last received CAS information is different to the previous received one, this interrupt is generated after update has been completed. This interrupt occurs only in TS0 and TS16 synchronous state. The registers RS1...16 should be read within the next 2 ms otherwise the contents may be lost. Receive CRC4 Error 0... 1... SA6SC... No CRC4 error occurs. The CRC4 check of a received submultiframe failed.
CRC4...
Receive SA6-Bit Status Changed With every change of state of the received SA6-bit combinations this interrupt is set.
Data Sheet
250
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers RPF... Receive Pool Full 32 bytes of a frame have arrived in the receive FIFO. The frame is not yet completely received. Interrupt Status Register 1 (Read) 7 ISR1
LLBSC RDO ALLS XDU XMB XLSC
0
XPR
(69)
All bits are reset when ISR1 is read. If bit IPC.VIS is set, interrupt statuses in ISR1 may be flagged although they are masked via register IMR1. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. LLBSC... Line Loop Back Status Change Depending on bit LCR1.EPRM the source of this interrupt status changed: LCR1.EPRM=0: This bit is set, if the LLB activate signal or the LLB deactivate signal, respectively is detected over a period of 25 ms with a bit error rate less than 1/100. The LLBSC bit is also set, if the current detection status is left, i.e., if the bit error rate exceeds 1/100. The actual detection status can be read from the RSP.LLBAD and RSP.LLBDD, respectively. PRBS Status Change LCR1.EPRM=1: With any change of state of the PRBS synchronizer this bit is set. The current status of the PRBS synchronizer is indicated in RSP.LLBAD. RDO... Receive Data Overflow This interrupt status indicates that the CPU did not respond fast enough to an RPF or RME interrupt and that data in RFIFO has been lost. Even when this interrupt status is generated, the frame continues to be received when space in the RFIFO is available again.
Note: Whereas the bit RSIS.RDO in the frame status byte indicates whether an overflow occurred when receiving the frame currently accessed in the RFIFO, the ISR1.RDO interrupt status is generated as soon as an overflow occurs and does not necessarily pertain to the frame currently accessed by the processor.
Data Sheet
251
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers ALLS... All Sent This bit is set if the last bit of the current frame has been sent out completely and XFIFO is empty. XDU... Transmit Data Underrun Transmitted frame was terminated with an abort sequence because no data was available for transmission in XFIFO and no XME was issued.
Note: Transmitter and XFIFO are reset and deactivated if this condition occurs. They are re-activated not before this interrupt status register has been read. Thus, XDU should not be masked via register IMR1.
XMB... Transmit Multiframe Begin This bit is set every 2 ms with the beginning of a multiframe transmission and is related to the internal transmit line interface timing. After setting this bit, registers XS1...16 are copied into the transmit shift registers. The registers XS1...16 are now ready for the next data and have to be updated; otherwise the contents is retransmitted during the next multiframe. A wait time of 3s has to be observed between reading of XMB = 1 and start of reprogramming XS1...16. XLSC... Transmit Line Status Change XLSC is set with the rising edge of the bit FRS1.XLO or with any change of bit FRS1.XLS. The actual status of the transmit line monitor can be read from the FRS1.XLS and FRS1.XLO. XPR... Transmit Pool Ready A data block of up to 32 bytes can be written to the transmit FIFO. XPR enables the fastest access to XFIFO. It has to be used for transmission of long frames, back-to-back frames or frames with shared flags.
Data Sheet
252
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Interrupt Status Register 2 (Read) 7 ISR2
FAR LFA MFAR T400MS AIS LOS RAR
0
RA
(6A)
All bits are reset when ISR2 is read. If bit IPC.VIS is set, interrupt statuses in ISR2 may be flagged although they are masked via register IMR2. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. FAR... Frame Alignment Recovery The framer has reached doubleframe synchronization. Set when bit FSR0.LFA is reset. It is set also after alarm simulation is finished and the receiver is still synchronous. LFA... Loss of Frame Alignment The framer has lost synchronization and bit FRS0.LFA is set. It is set during alarm simulation. MFAR... Multiframe Alignment Recovery Set when the framer has found two CRC-multiframes at an interval of n x 2 ms (n = 1, 2, 3, ...) without a framing error. At the same time bit FRS0.LMFA is reset. It is set also after alarm simulation is finished and the receiver is still synchronous. Only active if CRC-multiframe format is selected. T400MS... Receive Time Out 400 msec Only active if multiframing is enabled. The framer has found the doubleframing (basic framing) FRS0.LFA = 0 and is searching for the multiframing. This interrupt is set to indicate that no multiframing could be found within a time window of 400 ms after basic framing has been achieved. In multiframe synchronous state this interrupt is not generated. AIS... Alarm Indication Signal This bit is set when an alarm indication signal is detected and bit FRS0.AIS is set. It is set during alarm simulation. If IPC.SCI is set high this interrupt status bit is set with every change of state of FRS0.AIS.
Data Sheet
253
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LOS... Loss of Signal This bit is set when a loss of signal alarm is detected in the received bit stream and FRS0.LOS is set. It is set during alarm simulation. If IPC.SCI is set high this interrupt status bit is set with every change of state of FRS0.LOS. RAR... Remote Alarm Recovery Set if a remote alarm in TS0 is cleared and bit FRS0.RA is reset. It is set also after alarm simulation is finished and no remote alarm is detected. RA... Remote Alarm Set if a remote alarm in TS0 is detected and bit FRS0.RA is set. It is set during alarm simulation. Interrupt Status Register 3 (Read) 7 ISR3
ES SEC LMFA16 AIS16 RA16 API RSN
0
RSP
(6B)
All bits are reset when ISR3 is read. If bit IPC.VIS is set, interrupt statuses in ISR3 may be flagged although they are masked via register IMR3. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. ES... Errored Second This bit is set if at least one enabled interrupt source via IMR4 is set during the time interval of one second. Interrupt sources of IMR4 register: LFA = Loss of frame alignment detected (FRS0.LFA) FER = Framing error received CER = CRC error received AIS = Alarm indication signal (FRS0.AIS) LOS = Loss of signal (FRS0.LOS) CVE = Code violation detected SLIP= Receive Slip positive/negative detected EBE = E-Bit error detected (RSP.RS13/15) SEC... Second Timer The internal one second timer has expired. The timer is derived from clock RCLK.
Data Sheet
254
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers LMFA16... Loss of Multiframe Alignment TS 16 Multiframe alignment of timeslot 16 has been lost if two consecutive multiframe pattern are not detected or if in 16 consecutive timeslot 16 all bits are reset. If register IPC.SCI is high this interrupt status bit is set with every change of state of FRS1.TS16LFA. AIS16... Alarm Indication Signal TS 16 Status Change The alarm indication signal AIS in timeslot 16 for the 64 kbit/s channel associated signaling is detected or cleared. A change in bit FRS1.TS16AIS sets this interrupt (This bit is set if the incoming TS 16 signal contains less than 4 zeros in each of two consecutive TS16multiframe periods.). RA16... Remote Alarm TS 16 Status Change A change in the remote alarm bit in CAS multiframe alignment word is detected. API... Auxiliary Pattern Indication This bit is set if the auxiliary pattern is detected in the received bit stream and bit FRS0.AUXP is set. If register IPC.SCI is high this interrupt status bit is set with every change of state of FRS0.AUXP. RSN... Receive Slip Negative The frequency of the receive route clock is greater than the frequency of the receive system interface working clock based on 2.048 MHz. It is set during alarm simulation. In 2-frame buffer mode a frame is skipped. RSP... Receive Slip Positive The frequency of the receive route clock is less than the frequency of the receive system interface working clock based on 2.048 MHz. It is set during alarm simulation. In 2-frame buffer mode a frame is repeated.
Data Sheet
255
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Interrupt Status Register 5 (Read) 7 ISR5
XSP XSN
0 (6C)
All bits are reset when ISR5 is read. If bit IPC.VIS is set, interrupt statuses in ISR4 may be flagged although they are masked via register IMR5. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. XSP... Transmit Slip Positive The frequency of the transmit clock is less than the frequency of the transmit system interface working clock based on 2.048 MHz. In 2-frame buffer mode a frame is skipped. XSN... Transmit Slip Negative The frequency of the transmit clock is greater than the frequency of the transmit system interface working clock based on 2.048 MHz. In 2-frame buffer mode a frame is repeated Global Interrupt Status Register (Read) Value after RESET: 00H 7 GIS
ISR5 ISR3 ISR2 ISR1
0
ISR0
(6E)
This status register points to pending interrupts sourced by ISR5 and ISR3...ISR0. Version Status Register (Read) 7 VSTR VN7...0... VN7 VN6 VN5 VN4 VN3 VN2 VN1 0 VN0 (6F)
Version Number of Chip 10H...Version 1.1 13H...Version 1.3
Data Sheet
256
2000-07
PEB 2255 FALC-LH V1.3
E1 Registers Receive CAS Registers (Read) Value after RESET: not defined 7 RS1 RS2 RS3 RS4 RS5 RS6 RS7 RS8 RS9 RS10 RS11 RS12 RS13 RS14 RS15 RS16
0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 X A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 Y B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 X C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30
0
X D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B) (7C) (7D) (7E) (7F)
Receive CAS Register 1...16 Each register except RS1 contains the received CAS bits for two time slots. The received CAS multiframe is compared with the previously received one. If the contents changed a CAS multiframe changed interrupt (ISR0.CASC) is generated and informs the user that a new multiframe has to be read within the next 2 ms. If requests for reading the RS1...16 register are ignored, the received data may be lost. RS1 contains frame 0 of the CAS multiframe. MSB is received first.
Data Sheet
257
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers
10
10.1
*
T1/J1 Registers
T1/J1 Control Register Addresses
T1/J1 Control Register Address Arrangement Register Type Comment XFIFO XFIFO CMDR MODE RAH1 RAH2 RAL1 RAL2 IPC CCR1 CCR3 PRE RTR1 RTR2 RTR3 RTR4 TTR1 TTR2 TTR3 TTR4 IMR0 IMR1 IMR2 IMR3 IMR4 IMR5 FMR0 W W W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Transmit FIFO Transmit FIFO Command Register Mode Register Receive Address High 1 Receive Address High 2 Receive Address Low 1 Receive Address Low 2 Interrupt Port Configuration Page 261 261 261 263 264 264 264 265 265 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A
Table 53
Address
Common Configuration Register 1 266 Common Configuration Register 3 268 Preamble Register Receive Timeslot Register 1 Receive Timeslot Register 2 Receive Timeslot Register 3 Receive Timeslot Register 4 Transmit Timeslot Register 1 Transmit Timeslot Register 2 Transmit Timeslot Register 3 Transmit Timeslot Register 4 Interrupt Mask Register 0 Interrupt Mask Register 1 Interrupt Mask Register 2 Interrupt Mask Register 3 Interrupt Mask Register 4 Interrupt Mask Register 5 Framer Mode Register 0
258
269 270 270 270 270 271 271 271 271 272 272 272 272 272 272 272
2000-07
Data Sheet
PEB 2255 FALC-LH V1.3
T1/J1 Registers Table 53 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 29 2A 2B 2C 2D 2E 2F 30 31 32 34 35 36 37 38 39 3A 3B T1/J1 Control Register Address Arrangement (cont'd) Register Type Comment FMR1 FMR2 LOOP FMR4 FMR5 XC0 XC1 RC0 RC1 XPM0 XPM1 XPM2 IDLE XDL1 XDL2 XDL3 CCB1 CCB2 CCB3 ICB1 ICB2 ICB3 LIM0 LIM1 PCD PCR LIM2 LCR1 LCR2 LCR3 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Framer Mode Register 1 Framer Mode Register 2 Channel Loop Back Register Framer Mode Register 4 Framer Mode Register 5 Transmit Control 0 Transmit Control 1 Receive Control 0 Receive Control 1 Transmit Pulse Mask 0 Transmit Pulse Mask 1 Transmit Pulse Mask 2 Idle Channel Code Transmit DL-Bit Register 1 Transmit DL-Bit Register 2 Transmit DL-Bit Register 3 Clear Channel Register 1 Clear Channel Register 2 Clear Channel Register 3 Idle Channel Register 1 Idle Channel Register 2 Idle Channel Register 3 Line Interface Mode 0 Line Interface Mode 1 Pulse Count Detection Pulse Count Recovery Line Interface Register 2 Loop Code Register 1 Loop Code Register 2 Loop Code Register 3 Page 274 276 278 279 281 283 284 284 286 288 288 288 289 290 290 290 290 290 290 291 291 291 291 293 294 295 295 297 299 299
Address
Data Sheet
259
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Table 53 3C 3D 3E 40 60 70 71 72 73 74 75 76 77 78 79 7A 7B T1/J1 Control Register Address Arrangement (cont'd) Register Type Comment SIC1 SIC2 LIM3 SIC3 DEC XS1 XS2 XS3 XS4 XS5 XS6 XS7 XS8 XS9 XS10 XS11 XS12 R/W R/W R/W R/W W W W W W W W W W W W W W System Interface Control 1 System Interface Control 2 Line Interface Register 3 System Interface Control 3 Disable Error Counter Transmit Signaling Register 1 Transmit Signaling Register 2 Transmit Signaling Register 3 Transmit Signaling Register 4 Transmit Signaling Register 5 Transmit Signaling Register 6 Transmit Signaling Register 7 Transmit Signaling Register 8 Transmit Signaling Register 9 Transmit Signaling Register 10 Transmit Signaling Register 11 Transmit Signaling Register 12 Page 300 301 302 303 304 305 305 305 305 305 305 305 305 305 305 305 305
Address
After `RESET' all control registers except the XFIFO and XS1...12 are initialized to defined values. Unused bits have to be cleared (set to logical `0').
Data Sheet
260
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers
10.2
Detailed Description of T1/J1 Control Registers
Transmit FIFO (Write) 7 XFIFO
XF7
0
XF0
(00/01)
Writing data to XFIFO can be done in 8-bit (byte) or 16-bit (word) access. The LSB is transmitted first. Up to 32 bytes/16 words of transmit data can be written to the XFIFO following an XPR (or ALLS) interrupt. Command Register (Write) Value after RESET: 00H 7 CMDR RMC...
RMC RRES XREP XRES XHF XTF XME
0
SRES
(02)
Receive Message Complete Confirmation from CPU to FALC(R)-LH that the current frame or data block has been fetched following an RPF or RME interrupt, thus the occupied space in the RFIFO can be released.
RRES...
Receiver Reset The receive line interface except the clock and data recovery unit (DPLL), the receive framer, the one second timer and the receive signaling controller are reset. However the contents of the control registers is not deleted. Receiver reset shall be done after every new device initialization.
XREP...
Transmission Repeat If XREP is set together with XTF (write 24H to CMDR), the FALC(R)-LH repeatedly transmits the contents of the XFIFO (1...32 bytes) without HDLC framing fully transparently, i.e. without FLAG,CRC. The cyclic transmission is stopped with an SRES command or by resetting XREP.
Note:During cyclic transmission the XREP-bit has to be set with every write operation to CMDR.
Data Sheet
261
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XRES... Transmitter Reset The transmit framer and transmit line interface excluding the pulse shaper is reset. However the contents of the control registers is not deleted. Transmitter reset shall be done after every new device initialization. XHF... Transmit HDLC Frame After having written up to 32 bytes to the XFIFO, this command initiates the transmission of a HDLC frame. XTF... Transmit Transparent Frame Initiates the transmission of a transparent frame without HDLC framing. XME... Transmit Message End Indicates that the data block written last to the transmit FIFO completes the current frame. The FALC(R)-LH can terminate the transmission operation properly by appending the CRC and the closing flag sequence to the data. SRES... Signaling Transmitter Reset The transmitter of the signaling controller is reset. XFIFO is cleared of any data and an abort sequence (seven 1's) followed by interframe time fill is transmitted. In response to XRES an XPR interrupt is generated. Signaling transmitter reset shall be done after every new device initialization. This command can also be used by the CPU to abort a frame currently in transmission.
Note: The maximum time between writing to the CMDR register and the execution of the command takes 2.5 periods of the current system data rate. Therefore, if the CPU operates with a very high clock rate in comparison with the FALC (R)-LH's clock, it is recommended that bit SIS.CEC should be checked before writing to the CMDR register to avoid any loss of commands. All bits except XREP are cleared automatically.
Data Sheet
262
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Mode Register (Read/Write) Value after RESET: 00H 7 MODE
MDS2 MDS1 MDS0 BRAC HRAC
0 (03)
MDS2...0...
Mode Select The operating mode of the HDLC controller is selected. 000... 001... 010... 011... 100... 101... 110... 111... Reserved Reserved 1 byte address comparison mode (RAL1, 2) 2 byte address comparison mode (RAH1, 2 and RAL1, 2) No address comparison 1 byte address comparison mode (RAH1, 2) Reserved No HDLC framing mode 1
BRAC...
BOM Receiver Active Switches the BOM receiver to operational or inoperational state. 0... 1... Receiver inactive Receiver active
HRAC...
HDLC Receiver Active Switches the HDLC receiver to operational or inoperational state. 0... 1... Receiver inactive Receiver active
Data Sheet
263
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Address Byte High Register 1 (Read/Write) Value after RESET: FDH 7 RAH1 1
0
0 (04)
In operating modes that provide high byte address recognition, the high byte of the received address is compared with the individually programmable values in RAH1 and RAH2. RAH1... Value of the First Individual High Address Byte Bit 1 (C/R-bit) is excluded from address comparison. Receive Address Byte High Register 2 (Read/Write) Value after RESET: FFH 7 RAH2 RAH2... Value of Second Individual High Address Byte 0 (05)
Receive Address Byte Low Register 1 (Read/Write) Value after RESET: FFH 7 RAL1 RAL1... Value of First Individual Low Address Byte 0 (06)
Data Sheet
264
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Address Byte Low Register 2 (Read/Write) Value after RESET: FFH 7 RAL2 RAL2... 0 (07) Value of the second individually programmable low address byte.
Interrupt Port Configuration (Read/Write) Value after RESET: 01H 7 IPC
VIS SCI IC1
0
IC0
(08)
Unused bits have to be cleared. VIS... Masked Interrupts Visible 0... 1... SCI... Masked interrupt status bits are not visible Masked interrupt status bits are visible
Status Change Interrupt 0... Interrupts ISR2.LOS, ISR2.AIS and ISR0.PDEN is generated only on the rising edge of the corresponding status flag. 1... Interrupts ISR2.LOS, ISR2.AIS and ISR0.PDEN is generated on the rising and falling edge of the corresponding status flag.
IC1...0...
Interrupt Port Configuration These bits define the function of the interrupt output stage (pin INT): IOC1 X 0 1
1)
IOC0 0 1 1
Function Open drain output1) Push/pull output, active low Push/pull output, active high
an external pullup resistor is required at pin INT
Data Sheet
265
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers
Common Configuration Register 1 (Read/Write) Value after RESET: 00H 7 CCR1 SFLG...
SFLG BRM EDLX EITS ITF RFT1
0
RFT0
(09)
Enable Shared Flags If this bit is set, the closing flag of a preceding HDLC frame simultaneously is used as the opening flag of the following frame. 0... 1... Shared flag function disabled Shared flag function enabled
BRM...
BOM Receive Mode (significant in BOM mode only) 0... 1... 10 byte packets Continuous reception
EDLX...
Enable DL Bit Access via the Transmit FIFO A one in this bit position enables the internal DL-bit access via the receive/transmit FIFO of the signaling controller. FMR1.EDL has to be cleared.
EITS...
Enable Internal Time Slot 0-31 Signaling 0... 1... Internal signaling in time slots 0-31 defined via registers RTR1...4 or TTR1...4 is disabled. Internal signaling in time slots 0-31 defined via registers RTR1...4 or TTR1...4 is enabled.
ITF...
Interframe Time Fill Determines the idle (= no data to send) state of the transmit data coming from the signaling controller. 0... 1... Continuous logical `1' is output Continuous FLAG sequences are output (`01111110' bit patterns)
RFT1...0...
RFIFO Threshold Level The size of the accessible part of RFIFO can be determined by programming these bits. The number of valid bytes after an RPF interrupt is given in the following table:
Data Sheet
266
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers RFT1 0 0 1 1 RFT0 0 1 0 1 Size of Accessible Part of RFIFO 32 bytes (RESET value) 16 bytes 4 bytes 2 bytes
The value of RFT 1,0 can be changed dynamically - If reception is not running or - after the current data block has been read, but before the command CMDR.RMC is issued (interrupt controlled data transfer).
Note:It is seen that changing the value of RFT1,0 is possible even during the reception of one frame. The total length of the received frame can be always read directly in RBCL, RBCH after an RPF interrupt, except when the threshold is increased during reception of that frame. The real length can then be inferred by noting which bit positions in RBCL are reset by an RMC command (see table below):
RFT1 0 0 1 1 RFT0 0 1 0 1 Bit Positions in RBCL Reset by a CMDR.RMC Command RBC4 .... 0 RBC3 ... 0 RBC1,0 RBC0
Data Sheet
267
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Common Configuration Register 3 (Read/Write) Value after RESET: 00H 7 CCR3
PRE1 PRE0 EPT RADD RCRC XCRC
0 (0A)
Unused bits have to be cleared. PRE1...0... Number of Preamble Repetitions If preamble transmission is enabled, the preamble defined by register PRE is transmitted: 00... 1 time 01... 2 times 10... 4 times 11... 8 times EPT... Enable Preamble Transmission This bit enables transmission of preamble. The preamble is started after interframe timefill transmission has been stopped and a new frame is to be transmitted. The preamble consists of an 8-bit pattern repeated a number of times. The pattern is defined by register PRE, the number of repetitions is selected by bits PRE0 and PRE1.
Note: The 'Shared Flag' feature is not influenced by preamble transmission. Zero bit insertion is disabled during preamble transmission.
RADD... Receive Address Pushed to RFIFO If this bit is set, the received HDLC address information (1 or 2 bytes, depending on the address mode selected via MODE.MDS0) is pushed to RFIFO. See Chapter 8.1 on page 169 for detailed description. RCRC... Receive CRC ON/OFF If this bit is set, the received CRC checksum is written to RFIFO (CRC-ITU-T: 2 bytes). The checksum, consisting of the 2 last bytes in the received frame, is followed in the RFIFO by the status information byte (contents of register RSIS). The received CRC checksum is additionally checked for correctness. If non-auto mode is selected, the limits for "Valid Frame" check are modified (refer to RSIS.VFR and to Chapter 8.1 on page 169).
Data Sheet
268
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XCRC... Transmit CRC ON/OFF If this bit is set, the CRC checksum is not generated internally. It has to be written as the last two bytes in the transmit FIFO (XFIFO). The transmitted frame is closed automatically with a closing flag.
Note: The FALC (R)-LH does not check whether the length of the frame, i.e. the number of bytes to be transmitted makes sense or not.
Preamble Register (Read/Write) Value after RESET: 00H 7 PRE PRE0...7... Preamble Register This register defines the pattern which is sent during preamble transmission (refer to CCR3). LSB is sent first. 0 (0B)
Note: Zero bit insertion is disabled during preamble transmission.
Data Sheet
269
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Timeslot Register 1...4 (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 RTR1 RTR2 RTR3 RTR4
TS0 TS8 TS16 TS24 TS1 TS9 TS17 TS25 TS2 TS10 TS18 TS26 TS3 TS11 TS19 TS27 TS4 TS12 TS20 TS28 TS5 TS13 TS21 TS29 TS6 TS14 TS22 TS30
0
TS7 TS15 TS23 TS31
(0C) (0D) (0E) (0F)
TS0...TS31...
Timeslot Register These bits define the received time slots on the system highway port RDO to be extracted. Additionally these registers control the RSIGM marker which can be forced high during the respective time slots independently of bit CCR1.EITS. A one in the RTR1...4 bits samples the corresponding time slot in the RFIFO of the signaling controller, if bit CCR1.EITS is set. Assignments: SIC1.SRSC = 0 : ( SCLKR = 8.192 MHz) TS0 time slot 0 ... TS31 time slot 31 SIC1.SRSC = 1 : ( SCLKR = 1.544 MHz) TS0 time slot 1 ... TS23 time slot 24 0 ... normal operation. 1... The contents of the selected time slot is stored in the RFIFO. Although the idle time slots can be selected. This function is activated, if bit CCR1.EITS is set. The corresponding time slot is forced high on pin RSIGM.
Data Sheet
270
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Timeslot Register 1...4 (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 TTR1 TTR2 TTR3 TTR4
TS0 TS8 TS16 TS24 TS1 TS9 TS17 TS25 TS2 TS10 TS18 TS26 TS3 TS11 TS19 TS27 TS4 TS12 TS20 TS28 TS5 TS13 TS21 TS29 TS6 TS14 TS22 TS30
0
TS7 TS15 TS23 TS31
(10) (11) (12) (13)
TS0...TS31...
Transmit Timeslot Register These bits define the transmit time slots on the system highway to be inserted. Additionally these registers control the XSIGM marker which can be forced high during the respective time slots independently of bit CCR1.EITS. A one in the TTR1...4 bits inserts the corresponding time slot sourced by the XFIFO in the data received on pin XDI, if bit CCR1.EITS is set. If SIC3.TTRF is set and CCR1.EDLX/EITS=00, insertion of data received on port XSIG is controlled by this registers. Assignments: SIC1.SRSC = 0 : ( SCLKR = 8.192 MHz) TS0 time slot 0 ... TS31 time slot 31 SIC1.SRSC = 1 : ( SCLKR = 1.544 MHz) TS0 time slot 1 ... TS23 time slot 24 0 ... normal operation 1... The contents of the selected time slot is inserted into the outgoing data stream from XFIFO. This function is activated only, if bit CCR1.EITS is set. The corresponding time slot is forced high on marker pin XSIGM.
Data Sheet
271
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Interrupt Mask Register 0...5 Value after RESET: FFH, FF H, FF H, FF H,FF H 7 IMR0 IMR1 IMR2 IMR3 IMR4 IMR5 IMR0...5...
RME CASE FAR ES LFA XSP RFS RDO LFA SEC FER XSN ISF ALLS MFAR XSLP CER AIS RMB XDU LMFA RSC XMB AIS LLBSC LOS CVE LOS CRC6 PDEN XLSC RAR RSN SLIP
0
RPF XPR RA RSP
(14) (15) (16) (17) (18) (19)
Interrupt Mask Register Each interrupt source can generate an interrupt signal on port INT (characteristics of the output stage are defined via register IPC). A `1' in a bit position of IMR0...5 sets the mask active for the interrupt status in ISR0...3 and ISR5. Masked interrupt statuses neither generate a signal on INT, nor are they visible in register GIS. Moreover, they are - not displayed in the Interrupt Status Register if bit IPC.VIS is cleared - displayed in the Interrupt Status Register if bit IPC.VIS is set. After RESET, all interrupts are disabled.
Framer Mode Register 0 (Read/Write) Value after RESET: 00H 7 FMR0 XC1...0...
XC1 XC0 RC1 RC0 FRS SRAF EXLS
0
SIM
(1A)
Transmit Code Serial code transmitter is independent to the receiver. 00... NRZ (optical interface) 01... Not assigned
Data Sheet
272
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers 10...AMI coding with Zero Code Suppression (ZCS, B7-Stuffing). Disabling of the ZCS is done by activating the clear channel mode via register CCB1...3. (ternary or digital interface) 11...B8ZS Code (ternary or digital dual rail interface) RC1...0... Receive Code Serial code receiver is independent to the transmitter. 00... 01... 10... 11... FRS... NRZ (optical interface) Not assigned AMI coding (ternary or digital dual rail interface) B8ZS Code (ternary or digital dual rail interface)
Force Resynchronization A transition from low to high forces the frame aligner to execute a resynchronization of the pulse frame. In the asynchronous state, a new frame position is assumed at the next candidate if there is one. Otherwise, a new frame search with the meaning of a general reset is started. In the synchronous state this bit has the same meaning as bit FMR0.EXLS except if FMR2.MCSP=1. This bit is not reset automatically.
SRAF...
Select Remote (Yellow) Alarm Format for F12 and ESF Format 0... 1... F12: bit2 = 0 in every channel. ESF: pattern `1111 1111 0000 0000...' in data link channel. F12: FS bit of frame 12. ESF: bit2 = 0 in every channel
EXLS...
External Loss Of Frame With a low to high transition a new frame search is started. This has the meaning of a general reset of the internal frame alignment unit. Synchronous state is reached only if there is one definite framing candidate. In the case of multiple candidates, the setting of the bit FMR0.FRS forces the receiver to lock onto the next available framing position. This bit is not reset automatically.
SIM...
Alarm Simulation Setting/resetting this bit initiates internal error simulation of: AIS (blue alarm), loss of signal (red alarm), loss of frame alignment, remote (yellow) alarm, slip, framing errors, CRC errors, code violations. The error counters FEC, CVC, CEC, EBC are incremented. The selection of simulated alarms is done via the error simulation counter: FRS2.ESC2...0 which are incremented with each setting of bit FMR0.SIM. For complete checking of the alarm indications eight
Data Sheet
273
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers simulation steps are necessary (FRS2.ESC2...0 = 0 after a complete simulation). Framer Mode Register 1 (Read/Write) Value after RESET: 00H 7 FMR1 CTM...
CTM SIGM EDL PMOD CRC ECM IMOD
0
XAIS
(1B)
Channel Translation Mode 0... 1... Channel translation mode 0 Channel translation mode 1
See Table 26 on page 113 for details. SIGM... Select Signaling Mode 0... 1... Normal operation (no bit-robbing). CAS Bit-robbing mode selected
Note: Bit FMR5.EIBR has also to be set, if bit-robbing mode is to be used.
EDL... Enable DL-Bit Access via Register XDL1...3 Only applicable in F4, F24 or F72 frame format. 0... Normal operation. The DL-bits are taken from system highway or if enabled via CCR1.EDLX from the XFIFO of the signaling controller. DL-bit register access. The DL-bit information is taken from the registers XDL1...3 and overwrites the DL-bits received at the system highway (pin XDI) or the internal XFIFO of the signaling controller. However, transmitting contents of registers XDL1...3 is disabled if transparent mode is enabled (FMR4.TM).
1...
PMOD...
PCM Mode For T1/J1 applications this bit must be set high. Switching into T1/J1 mode the device needs up to 10 s to settle up to the internal clocking. 0... 1... PCM 30 or E1 mode. PCM 24 or T1/J1 mode.
Data Sheet
274
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers CRC... Enable CRC6 This bit is only significant when using the ESF format. 0... 1... ECM... CRC6 check/generation disabled. For transmit direction, all CRC bit positions are set. CRC6 check/generation enabled.
Error Counter Mode The function of the error counters (FEC,CEC,CVC,EBC) is determined by this bit. 0... Before reading an error counter the corresponding bit in the Disable Error Counter register (DEC) has to be set. In 8 bit access the low byte of the error counter should always be read before the high byte. The error counters are reset with the rising edge of the corresponding bits in the DEC register. Every second the error counter is latched and then automatically be reset. The latched error counter state should be read within the next second. Reading the error counter during updating should be avoided (do not access an error counter within 2 s before or after the one-second interrupt occurs).
1...
IMOD...
System Interface Mode 0...4.096 Mbit/s 1...2.048 Mbit/s or 1.544 Mbit/s This bit has to be set if SIC1.SRSC or SIC1.SXSC are set.
XAIS...
Transmit AIS Towards Remote End Sends AIS (blue alarm) via ports: XL1, XL2 towards the remote end. If Local Loop Mode is enabled the transmitted data is looped back to the system internal highway without any changes.
Data Sheet
275
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Framer Mode Register 2 (Read/Write) Value after RESET: 00H 7 FMR2 MCSP... SSP...
MCSP SSP DAIS SAIS PLB AXRA
0
EXZE
(1C)
Multiple Candidates Synchronization Procedure Select Synchronization/Resynchronization Procedure Together with bit FMR2.SSP the synchronization mode of the receive framer is defined: MCSP/SSP: 00... F12/72 format: Specified number of errors in both FT framing and FS framing lead to loss of sync (FRS0.LFA is set). In the case of FS bit framing errors, bit FRS0.LMFA is set additionally. A complete new synchronization procedure is initiated to regain pulseframe alignment and then multiframe alignment. F24: normal operation: synchronization is achieved only on verification the framing pattern. 01... F12/72: Specified number of errors in FT framing has the same effect as above. Specified number of errors in FS framing only initiates a new search for multiframe alignment without influencing pulseframe synchronous state (FRS0.LMFA is set). F24: Synchronous state is reached when three consecutive multiframe pattern are correctly found independent of the occurrence of CRC6 errors. 10... F24: A one enables a synchronization mode which is able to choose multiple framing pattern candidates step by step. I.e. if in synchronous state the CRC error counter indicates that the synchronization might have been based on an alias framing pattern, setting of FMR0.FRS leads to synchronization on the next candidate available. However, only the previously assumed candidate is discarded in the internal framing pattern memory. The latter procedure can be repeated until the
Data Sheet
276
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers framer has locked on the right pattern (no extensive CRC errors). Therefor bit FMR1.CRC must be set. 11... F24: Synchronization is achieved on verification of the framing pattern and the CRC6 bits. Synchronous state is reached when framing pattern and CRC6 checksum are correctly found. For correct operation the CRC check must be enabled by setting bit FMR1.CRC6. DAIS... Disable AIS to System Interface 0... 1... SAIS... AIS is automatically inserted into the data stream to RDO if FALC (R)-LH is in asynchronous state. Automatic AIS insertion is disabled. Furthermore, AIS insertion can be initiated by programming bit FMR2.SAIS.
Send AIS Towards System Interface Sends AIS (blue alarm) via output RDO towards system interface. This function is not influenced by bit FMR2.DAIS.
PLB...
Payload Loop Back 0 ... Normal operation. Payload loop is disabled. 1... The payload loopback loops the data stream from the receiver section back to transmitter section. Looped data is output on pin RDO. Data received on port XDI, XSIG, SYPX and XMFS are ignored. With FMR4.TM=1 all 193 bits per frame are looped back. If FMR4.TM=0 the DL- or FS- or CRC-bits are generated internally. AIS is sent immediately on port RDO by setting the FMR2.SAIS bit. During payload loop is active the receive time slot offset (registers RC1...0) should not be changed. It is recommended to write the actual value of XC1 into this register once again, because a write access to register XC1 sets the read/write pointer of the transmit elastic buffer into its optimal position to ensure a maximum wander compensation (the write operation forces a slip).
AXRA...
Automatic Transmit Remote Alarm 0 ... Normal operation 1... The remote alarm (yellow alarm) bit is set automatically in the outgoing data stream if the receiver is in asynchronous state (FRS0.LFA bit is set). In synchronous state the remote alarm bit is reset.
Data Sheet
277
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers EXZE... Excessive Zeros Detection Enable Selects error detection mode in the bipolar receive bit stream. 0... 1... Only bipolar violations are detected. Bipolar violations and zero strings of 8 or more contiguous zeros in B8ZS code or more than 15 contiguous zeros in AMI code are detected additionally and counted in the code violation counter CVC.
Channel Loop Back Register (Read/Write) Value after RESET: 00H 7 LOOP SPN...
SPN RTM ECLB CLA4 CLA3 CLA2 CLA1
0
CLA0
(1D)
Select Additional Optical Pin Functions Together with bit LIM3.ESY the functionality of pin 80 is defined: Programming of LOOP.SPN and LIM3.ESY and the corresponding pin function is shown below. SPN/ESY: 00... function of pin 80 XSIG: If SIC3.TTRF = 1, transmit data from the system interface. Internal multiplexing with the XDI data stream is controlled by XSIGM. No input function defined for SIC3.TTRF = 0. 01... function of pin 80 SYNC2: external synchronization input for the DCO-X circuitry 10... function of pin 80 ROID: Receive Optical Interface Data (Input) and Pin 68: XMFB/XOID Transmit Optical Interface Data (Output). At the same time data received on pin 2 are ignored, data on pin XOID (pin 15) are undefined. Transmit data is clocked off with the positive transition of XCLK. After Reset the transmit multiframe begin marker is output on pin 68. 11... function of pin 80 XSIG: The signaling information from the transmit system interface is received on pin XSIG. Bit FMR5.EIBR should be cleared to disable internal signaling access from registers XS1...12. The signaling information from the line interface is transmitted on pin RSIG.
Data Sheet
278
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers RTM... Receive Transparent Mode Setting this bit disconnects control of the internal elastic store from the receiver. The elastic store is now in a "free running" mode without any possibility to update the time slot assignment to a new frame position in case of re-synchronization of the receiver. This function can be used in conjunction with the "disable AIS to system interface" feature (FMR2.DAIS) to realize undisturbed transparent reception. This bit should be enabled in case of unframed data reception mode. After resetting RTM to 0, the elastic buffer is adjusted after the next resynchronization. ECLB... Enable Channel Loop Back 0... 1... CLA4...0... Disables the channel loop back. Enables the channel loop back selected by this register.
Channel Address For Loop Back CLA = 1...24 selects the channel. During loop back, the contents of the associated outgoing channel on ports XL1/XDOP/XOID and XL2/XDON is equal to the idle channel code programmed in register IDLE.
Framer Mode Register 4 (Read/Write) Value after RESET: 00H 7 FMR4 AIS3...
AIS3 TM XRA SSC1 SSC0 AUTO FM1
0
FM0
(1E)
Select AIS Condition 0... AIS (blue alarm) is indicated (FRS0.AIS) when two or less zeros in the received bit stream are detected in a time interval of 12 frames (F4, F12, F72) or 24 frames (ESF). AIS (blue alarm) detection is only enabled when FALC(R)-LH is in asynchronous state. The alarm is indicated (FRS0.AIS) when - three or less zeros within a time interval of 12 frames (F4, F12, F72), or - five or less zeros within a time interval of 24 frames (ESF) are detected in the received bit stream.
1...
Data Sheet
279
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers TM... Transparent Mode Setting this bit enables the transparent mode: In transmit direction bit 8 of every FS/DL time slot from the system internal highway (XDI) is inserted in the F-bit position of the outgoing frame. Internal framing generation, insertion of CRC and DL data is disabled. In receive direction the framing bit is also forwarded to RDO and inserted into the FS/DL time slot. Bit RDCF (bit 1 of FS/DL time slot) indicates a DL bit. XRA... Transmit Remote Alarm (Yellow Alarm) If high, remote alarm is sent via PCM route. Clearing the bit removes the remote alarm pattern. Remote alarm indication depends on the multiframe structure as follows: F4: bit2 = 0 in every speech channel F12: FMR0.SRAF = 0: bit2 = 0 in every speech channel FMR0.SRAF = 1: FS-bit of frame 12 is forced to `1' ESF: FMR0.SRAF = 0: pattern `1111111100000000 11111111000...' in data link channel FMR0.SRAF = 1: bit2 = 0 in every speech channel F72: bit2 = 0 in every speech channel SSC1...0... Select Sync Conditions Loss of Frame Alignment (FRS0.LFA or opt. FRS0.LMFA) is declared if 00 = 2 out of 4 framing bits 01 = 2 out of 5 framing bits 10 = 2 out of 6 framing bits in F4/12/72 format 10 = 2 out of 6 framing bits per multiframe period in ESF format 11 = 4 consecutive multiframe pattern in ESF format are incorrect. It depends on the selected multiframe format and optionally on bit FMR2.SSP which framing bits are observed: F4: FT bits FRS0.LFA F12, F72: SSP = 0: FT bits FRS0.LFA: FS bits FRS0.LFA and FRS0.LMFA SSP = 1:FT FRS0.LFA FS FRS0.LMFA ESF: ESF framing bits FRS0.LFA
Data Sheet
280
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers AUTO... Enable Auto Resynchronization 0... The receiver does not resynchronize automatically. Starting a new synchronization procedure is possible via the bits: FMR0.EXLS or FMR0.FRS. Auto-resynchronization is enabled.
1... FM1...0...
Select Frame Mode FM FM FM FM = 0: 12-frame multiframe format (F12, D3/4) = 1: 4-frame multiframe format (F4) = 2: 24-frame multiframe format (ESF) = 3: 72-frame multiframe format (F72, remote switch mode)
Framer Mode Register 5 (Read/Write) Value after RESET: 00H 7 FMR5 SRS...
SRS EIBR XLD XLU SRO XTM RTF
0 (1F)
Signaling Register SIze Valid in F12/F72 frame format only 0... 1... Signaling access is done via registers RS/XS1...6 Signaling access is done via increased register bank RS/ XS1...12
EIBR...
Enable Internal Bit-Robbing Access 0... 1... Normal operation (no bit-robbing). CAS Bit-robbing mode selected
Note: Bit FMR1.SIGM has also to be set, if bit-robbing mode is to be used.
XLD... Transmit Line Loopback (LLB) Down Code 0... 1... Normal operation. A one in this bit position causes the transmitter to replace normal transmit data with the LLB down (deactivate) code continuously until this bit is reset. The LLB down code is optionally overwritten by the framing/DL/CRC bits. For correct operation bit FMR5.XLU must be cleared
Data Sheet
281
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XLU... Transmit LLB UP Code 0... 1... Normal operation. A one in this bit position causes the transmitter to replace normal transmit data with the LLB UP (activate) Code continuously until this bit is reset. The LLB UP Code is optionally overwritten by the framing/DL/CRC bits. For correct operation bit FMR5.XLD must be cleared.
SRO...
Signaling Register Organization Valid in F12/F72 and ESF frame format only 0... Signaling access via registers RS/XS1...12 is done without reordering of ABCD bits. 1... Signaling access via registers RS/XS1...12 is done with reordering of ABCD bits.
For details see description of registers XS1...12 on page 305 and RS1...12 on page 333 XTM... Transmit Transparent Mode Valid if loop-timed mode is enabled (LIM2.ELT = 1). 0...Ports SYPX/XMFS define the frame/multiframe begin on the transmit system highway. The transmitter is usually synchronized on this externally sourced frame boundary and generates the FAS bits according to this framing. Any change of the transmit time slot assignment or a transmit slip subsequently produces a change of the FAS bit positions. 1... Disconnects the control of the transmit system interface from the transmitter. The transmitter is now in a free running mode without any possibility to update the multiframe position. The framing (FAS bits) generated by the transmitter is not disturbed (in case of changing the transmit time slot assignment or transmit slip) by the transmit system highway unless register XC1 is written. Useful in loop-timed applications. For correct operation the transmit elastic buffer (2 frames, SIC1.XBS1/0= 10) has to be enabled RTF... Receive Transparent Forwarding Setting this bit all 193 bits per frame of the incoming multiframe are forwarded to pin RDO transparently. In asynchronous state the received data may be transparently switched through if bit FMR2.DAIS is set.
Data Sheet
282
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Control 0 (Read/Write) Value after RESET: 00H 7 XC0 BRM...
BRM MFBS SFRZ XCO2 XCO1
0
XCO0
(20)
Enable Bit-Robbing Marker A one in this bit marks the robbed bit positions on the system highway. RSIGM marks the receive and XSIGM marks the transmit robbed bits. For correct operation bit FMR1.SIGM must be set.
MFBS...
Enable pure Multiframe Begin Signals Valid only if ESF or F72 format is selected. If set, signals RMFB and XMFB indicate only the multiframe begin. Additional pulses (every 12 frames) are disabled.
SFRZ...
Select Freeze Output 0... 1... Signal RFSP is output on port RFSP/FREEZS Freeze status signal is output on port RFSP/FREEZS
XCO2...XCO0... Transmit Clock Slot Offset Initial value loaded into the transmit bit counter at the trigger edge of SCLKX when the synchronous pulse on port SYPX is active. Setting of SIC1.SXSC enforces programming the offset values in the range of 0 to 192 bits with XCO0 always cleared.
Data Sheet
283
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Control 1 (Read/Write) Value after RESET: 00H 7 XC1
XCOS XTO5 XTO4 XTO3 XTO2 XTO1
0
XTO0
(21)
A write access to this address resets the transmit elastic buffer to its basic starting position. Therefore, updating of the value should only be done when the FALC(R)-LH is initialized or when the buffer should be centered. As a consequence a transmit slip occurs. XCOS... Transmit Clock Offset Shift Valid only if SIC1.SXSC = 0 0... The delay T between the beginning of time slot 0 and the initial edge of SCLKX (after SYPX goes active) is an even number in the range of 0 to 1022 SCLKX cycles. 1... The delay T is an odd number in the range of 1 to 1023 SCLKX cycles. XTO5...XTO0... Transmit Time Slot Offset Initial value loaded into the transmit bit counter at the trigger edge of SCLKX when the synchronous pulse on port SYPX is active. Setting of SIC1.SXSC enforces programming the offset values in the range of 0 to 192 bits. Receive Control 0 (Read/Write) Value after RESET: 00H 7 RC0 RCOS...
RCOS SICS CRCI XCRCI RDIS RCO2 RCO1
0
RCO0
(22)
Receive Clock Offset Valid only if SIC1.SXSC = 0 0... The delay T between the beginning of time slot 0 and the initial edge of SCLKR (after SYPX goes active) is an even number in the range of 0 to 1022 SCLKX cycles. 1... The delay T is an odd number in the range of 1 to 1023 SCLKX cycles.
Data Sheet
284
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers SICS... System Interface Channel Select Applicable only if bit FMR1.IMOD (4-MHz system interface) is cleared. 0... Received data is output on port RDO in the first channel phase. Data in the second channel phase is tristated. Data on pin XDI is sampled in the first channel phase only. Data in the second channel phase is ignored. 1... Received data is output on port RDO in the second channel phase. Data in the first channel phase is tristated. Data on pin XDI is sampled in the second channel phase only. Data in the first channel phase is ignored. CRCI... Automatic CRC6 Bit Inversion If set, all CRC bits of one outgoing extended multiframe are inverted in case a CRC error is flagged for the previous received multiframe. This function is logically ORed with RC0.XCRCI. XCRCI... Transmit CRC6 Bit Inversion If set, the CRC bits in the outgoing data stream are inverted before transmission. This function is logically ORed with RC0.CRCI. RDIS... Receive Data Input Sense Only applicable for dual rail mode (LIM1.DRS = 1). 0... 1... Inputs: RDIP, RDIN active low, input ROID is active high Inputs: RDIP, RDIN active high, input ROID is active low
RCO2...RCO0... Receive Offset/Receive Frame Marker Offset Depending on bit SIC2.SRFSO this bit enables different functions: Receive Clock-Slot Offset (SIC2.SRFSO = 0) Initial value loaded into the receive bit counter at the trigger edge of SCLKR when the synchronous pulse on port SYPR is active. Setting of SIC1.SRSC enforces programming the offset values in a range of 0 to 192 bits with RCO0 always cleared. Receive Frame Marker Offset (SIC2.SRFSO = 1) Offset programming of the receive frame marker which is output on port SYPR. The receive frame marker could be activated during any bit position of the current frame. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on the bit position BP which should be marked and SCLKR: X = (2BP) mod 386, for SCLKR = 1.544 MHz
Data Sheet 285 2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Control 1 (Read/Write) Value after RESET: 00H 7 RC1 SJR...
SJR RRAM RTO5 RTO4 RTO3 RTO2 RTO1
0
RTO0
(23)
Select Japanese ITU-T Requirements for ESF format 0... 1... Alarm handling and CRC6 generation/checking is done according ITU-T G. 704+706 Alarm handling and CRC6 generation/checking is done according ITU-T JG. 704 + 706
See Table 48 "Framer Initialization (T1/J1)" on page 166 for more details. RRAM... Receive Remote Alarm Mode The conditions for remote (yellow) alarm (FRS0.RRA) detection can be selected via this bit to allow detection even in the presence of BER 10**-3: RRAM = 0 Detection F4: bit2 = 0 in every speech channel per frame. F12: FMR0.SRAF = 0: bit2 = 0 in every speech channel per frame. FMR0.SRAF = 1: S-bit of frame 12 is forced to `1' ESF: FMR0.SRAF = 0: pattern `1111 1111 0000 0000...' in data link channel FMR0.SRAF = 1: bit2 = 0 in every speech channel F72: bit2 = 0 in every speech channel per frame. Release The alarm is reset when above conditions are no longer detected. RRAM = 1 Detection F4: bit2 = 0 in 255 consecutive speech channels. F12: FMR0.SRAF = 0: bit 2 = 0 in 255 consecutive speech channels. FMR0.SRAF = 1: S-bit of frame 12 is forced to `1' ESF: FMR0.SRAF = 0: pattern `1111 1111 0000 0000...' in data link channel FMR0.SRAF = 1: bit 2 = 0 in 255 consecutive speech channels F72: bit 2 = 0 in 255 consecutive speech channels.
Data Sheet 286 2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Release: Depending on the selected multiframe format the alarm is reset when FALC-LH does not detect - the `bit 2 = 0' condition for three consecutive pulse frames (all formats if selected), - the `FS bit' condition for three consecutive multiframes (F12), - the `DL pattern' for three times in a row (ESF). RTO5...RTO0... Receive Time-Slot Offset/Receive Frame Marker Offset Depending on bit SIC2.SRFSO this bit enables different functions: Receive Time-Slot Offset (SIC2.SRFSO = 0) Initial value which is loaded into the receive time-slot counter at the trigger edge of SCLKR when the synchronous pulse on port SYPR is active. Setting of SIC1.SRSC enforces programming the offset values in a range of 0 to 192 bits. Receive Frame Marker Offset (SIC2.SRFSO = 1) Offset programming of the receive frame marker which is output on port SYPR. The receive frame marker could be activated during any bit position of the current frame. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on the bit position BP which should be marked and SCLKR: X = (2BP) mod 386, for SCLKR = 1.544 MHz
Data Sheet
287
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Pulse-Mask 2...0 (Read/Write) Value after RESET: 9CH, 03 H, 00 H 7 XPM0 XPM1 XPM2
XP12 XP30 XLHP XP11 XP24 XLT XP10 XP23 DAXLT XP04 XP22 XP03 XP21 XP34 XP02 XP20 XP33 XP01 XP14 XP32
0
XP00 XP13 XP31
(24) (25) (26)
The transmit pulse shape which is defined in ANSI T1. 102 is output on pins XL1 and XL2. The level of the pulse shape can be programmed via registers XPM2...0 to create a custom waveform. In order to get an optimized pulse shape for the external transformers each pulse shape is divided internally into four sub pulse shapes. In each sub pulse shape a programmed 5 bit value defines the level of the analog voltage on pins XL1/2. Together four 5 bit values have to be programmed to form one complete transmit pulse shape.The four 5 bit values are sent in the following sequence: XP04-00: First pulse shape level XP14-10: Second pulse shape level XP24-20: Third pulse shape level XP34-30: Fourth pulse shape level Changing the LSB of each subpulse in registers XPM2...0 changes the amplitude of the differential voltage on XL1/2 by approximately 110 mV. The XPM-values in the following table are based on simulations. They are valid for the following external circuitry: transformer ratio: 1: 2 ; cable: PULB 22AWG (100 ); serial resistors: 5 . Adjustment of these coefficients may be necessary for other external conditions. Table 54 Range in m 0...40 40...81 81...122 122...162 162...200 Pulse Shaper Programming (T1/J1) Range in ft. 0...133 133...266 266...399 399...533 533...655 XPM0 XPM1 XPM2 XP04XP00 25 27 29 31 31 XP14XP10 24 26 27 27 26 XP24XP20 6 7 10 13 14 XP34XP30 3 3 3 3 3
hexadecimal 19 5B 7D 7F 5F 9B 9F AB B7 BB 01 01 01 01 01
decimal
Data Sheet
288
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XLHP... Transmit Line High Power With this bit the output current capability of transmit lines XL1/XL2 is increased. According to the DC characteristics, this bit has to be set, if an output current of more than 60 mA is required. 0... 1... Output current low output current high
For absolute values see DC Characteristics. XLT... Transmit Line Tristate 0 ... Normal operation 1 ... Transmit line XL1/XL2 or XDOP/XDON are switched into high impedance state. If this bit is set the transmit line monitor status information is frozen. DAXLT... Disable Automatic Tristating of XL1/2 0... Normal operation. If a short is detected on pins XL1/2 the transmit line monitor sets the XL1/2 outputs into a high impedance state. If a short is detected on pins XL1/2 an automatic setting these pins into a high impedance state (by the XL-monitor) is disabled.
1...
Idle Channel Code Register (Read/Write) Value after RESET: 00H 7 IDLE
IDL7
0
IDL0
(29)
IDL7...IDL0...
Idle Channel Code If channel loop back is enabled by programming the register LOOP.ECLB = 1, the contents of the assigned outgoing channel on ports XL1/XL2 respective XDOP/XDON is set equal to the idle channel code selected by this register. Additionally, the specified pattern overwrites the contents of all channels of the outgoing PCM frame selected via the idle channel registers ICB1...ICB3. IDL7 is transmitted first.
Data Sheet
289
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit DL-Bit Register 1...3 (Read/Write) Value after RESET: 00H, 00 H, 00H 7 XDL1 XDL2 XDL3
XDL17 XDL27 XDL37 XDL16 XDL26 XDL36 XDL15 XDL25 XDL35 XDL14 XDL24 XDL34 XDL13 XDL23 XDL33 XDL12 XDL22 XDL32 XDL11 XDL21 XDL31
0
XDL10 XDL20 XDL30
(2A) (2B) (2C)
XDL1...XDL3...
Transmit FS/DL-Bit Data The DL-bit register access is enabled by setting bits FMR1.EDL = 1. With the transmit multiframe begin an interrupt ISR1.XMB is generated and the contents of these registers XDL1...3 is copied into a shadow register. The contents is sent out subsequently in the data stream of the next outgoing multiframe if no transparent mode is enabled. XDL10 is sent out first. In F4 frame format only XDL10...11 are transmitted. In F24 frame format XDL10...23 are shifted out. In F72 frame format XDL10...37 are transmitted. The transmit multiframe begin interrupt (XMB) requests that these registers should be serviced. If requests for new information are ignored, current contents is repeated.
Clear Channel Register (Read/Write) Value after RESET: 00H, 00 H, 00H 7 CCB1 CCB2 CCB3
CH1 CH9 CH17 CH2 CH10 CH18 CH3 CH11 CH19 CH4 CH12 CH20 CH5 CH13 CH21 CH6 CH14 CH22 CH7 CH15 CH23
0
CH8 CH16 CH24
(2D) (2E) (2F)
CH1...CH24...
Channel Selection Bits 0... Normal operation. Bit-robbing information and Zero Code Suppression (ZCS, B7 stuffing) may change contents of the selected speech/data channel if assigned modes are enabled via bits FMR5.EIBR and FMR0.XC1/0. Clear channel mode. Contents of selected speech/data channel is not overwritten by internal or external bit-robbing and
1...
Data Sheet
290
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers ZCS information. Transmission of channel assigned signaling and control of pulse density is applied by the user. Idle Channel Register (Read/Write) Value after RESET: 00H, 00 H, 00H, 00H 7 ICB1 ICB2 ICB3
IC1 IC9 IC17 IC2 IC10 IC18 IC3 IC11 IC19 IC4 IC12 IC20 IC5 IC13 IC21 IC6 IC14 IC22 IC7 IC15 IC23
0
IC8 IC16 IC24
(30) (31) (32)
IC1...IC24...
Idle Channel Selection Bits These bits define the channels (time slots) of the outgoing PCM frame to be altered. 0... 1... Normal operation. Idle channel mode. The contents of the selected channel is overwritten by the idle channel code defined via register IDLE.
Line Interface Mode 0 (Read/Write) Value after RESET: 00H 7 LIM0 XFB...
XFB XDOS SCL1 SCL0 EQON ELOS LL
0
MAS
(34)
Transmit Full Bauded Mode Only applicable for dual rail mode (bit LIM1.DRS = 1). 0...Output signals XDOP/XDON are half bauded (normal operation). 1...Output signals XDOP/XDON are full bauded.
XDOS...
Transmit Data Out Sense Only applicable for dual rail mode (bit LIM1.DRS = 1) 0... 1... Output signals XDOP/XDON are active low. Output XOID is active high (normal operation). Output signals XDOP/XDON are active high. Output XOID is active low.
Data Sheet
291
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers SCL1...0... Select Clock Output 00... Output frequency on pin CLKX is 2048 kHz active high. 01... Output frequency on pin CLKX is 2048 kHz active low. 10... Output frequency on pin CLKX is 4096 kHz active high. 11... Output frequency on pin CLKX is 4096 kHz active low. EQON... Receive Equalizer On 0... 1... ELOS... -10 dB Receiver: short haul mode -36 dB Receiver: long haul mode
Enable Loss of Signal 0... 1... Normal operation, the extracted receive clock is output on pin RCLK During of loss of signal (FRS0.LOS = 1) output RCLK is set high.
LL...
Local Loop 0 ... Normal operation 1 ... Local loop active. The local loopback mode disconnects the receive lines RL1/RL2 (RDIP/RDIN, respectively) from the receiver. Data provided by system interface is routed back to the system interface. The transmitted data is not affected. Receiver and transmitter coding must be identical. Operates in analog and digital line interface mode. In analog line interface mode data is looped through the complete analog receiver.
MAS...
Master Mode 0 ... Slave mode 1 ... Master mode on. If this bit is set and the SYNC pin is connected to VSS the FALC-LH works as a master for the system. The internal DCO's of the jitter attenuator are centered and the system clocks which are output via CLK8M/CLKX are stable (divided from the DCO frequencies). If a clock (1.544 MHz or 2.048 MHz) is detected at the SYNC pin the FALC-LH synchronizes automatically to this clock. The production tolerance is approximately 30 ppm of the crystal frequency if CLoad = 15 pF.
Data Sheet
292
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Line Interface Mode 1 (Read/Write) Value after RESET: 00H 7 LIM1 EFSC...
EFSC RIL2 RIL1 RIL0 DCOC JATT RL
0
DRS
(35)
Enable Frame Synchronization Pulse 0... 1... The transmit clock is output on pin XCLK Pin XCLK provides an 8 kHz frame synchronization pulse which is active for one 2.048-MHz cycle (488 ns)
RIL2...RIL0...
Receive Input Threshold Only valid if analog line interface and short haul mode is selected (LIM1.DRS=0 and LIM1.EQON = 0). No signal is declared if the voltage between pins RL1 and RL2 drops below the limits programmed via bits RIL2...0 and the received data stream has no transition for a period defined in the PCD register. The threshold where no signal is declared is programmable via the RIL2...0 bits. See Table 58 "DC Parameters" on page 336 for details.
Note: LIM1.RIL(2:0) must be programmed before LIM0.EQON = 1 is set.
DCOC ... DCO-R and DCO-X Control 0... 1... 1.544-MHz reference clock for the DCO-R/DCO-X circuitry provided on pin SYNC/SYNC2. 2.048-MHz reference clock for the DCO-R/DCO-X circuitry provided on pin SYNC/SYNC2.
Data Sheet
293
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers JATT...RL... Transmit Jitter Attenuator/Remote Loop 00 = Normal operation. The transmit jitter attenuator is disabled. Transmit data bypasses the buffer. 01 = Remote Loop active without transmit jitter attenuator enabled. Transmit data bypasses the buffer. 10 = not assigned 11 = Remote Loop and jitter attenuator active. Received data from pins RL1/2 or RDIP/N or ROID is sent 'jitter free' on ports XL1/ 2 or XDOP/N or XOID. The dejittered clock is generated by the DCO-X circuitry. DRS... Dual Rail Select 0= 1= The ternary interface is selected. Multifunction ports RL1/2 and XL1/2 become analog in/outputs. The digital dual rail interface is selected. Received data is latched on multifunction ports RDIP/RDIN while transmit data is output on pins XDOP/XDON.
Pulse Count Detection Register (Read/Write) Value after RESET: 00H 7 PCD
PCD7
0
PCD0
(36)
PCD7...PCD0... Pulse Count Detection A LOS alarm (red alarm) is detected if the incoming data stream has no transitions for a programmable number T consecutive pulse positions. The number T is programmable via the PCD register and can be calculated as follows: T= 16(N+1) ; with 0 N 255. The maximum time is: 256 x 16 x 648 ns = 2.65 ms. Every detected pulse resets the internal pulse counter. The counter is clocked with the receive clock RCLK.
Data Sheet
294
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Pulse Count Recovery (Read/Write) Value after RESET: 00H 7 PCR
PCR7
0
PCR0
(37)
PCR7...PCR0... Pulse Count Recovery A LOS alarm (red alarm) is cleared if a pulse density is detected in the received bit stream.The number of pulses M which must occur in the predefined PCD time interval is programmable via the PCR register and can be calculated as follows: M = N+1 ; with 0 N 255. The time interval starts with the first detected pulse transition. With every received pulse a counter is incremented and the actual counter is compared with the contents of PCR register. If the pulse number is the PCR value the LOS alarm is reset otherwise the alarm stays active. In this case the next detected pulse transition starts a new time interval. An additional Loss of Signal recovery condition may be selected by register LIM2.LOS2...1. Line Interface Mode 2 (Read/Write) Value after RESET: 00H 7 LIM2
LBO2 LBO1 DJA2 DJA1 SCF ELT LOS2
0
LOS1
(38)
LBO2...LBO1...
Line Build-Out In long haul applications LIM0.EQON = 1 a transmit filter can be optionally placed on the transmit path to attenuate the data on pins XL1/2. Selecting the transmitter attenuation is possible in steps of 7.5 dB @772kHz which is according to FCC 68 or ANSI T1. 403. To meet the line build-out defined by ANSI T1.403 registers XPM2...0 should be programmed as follows: 00... 0 dB 01... -7.5 dB --> XPM2...0 = 20H, 02H, 11H 10... -15 dB --> XPM2...0 = 20 H, 01 H, 8EH 11... -22.5 dB --> XPM2...0 = 20H, 01 H, 09 H
Data Sheet
295
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers DJA2... Digital Jitter Attenuation DCO-X 0... 1... Jitter attenuation of the transmit clock is done using an external pullable crystal between pins XTAL3/4 Jitter attenuation of the transmit clock is done without using an external pullable crystal between pins XTAL3/4. Only a free running 12.352-MHz clock has top be provided at XTAL3 (+/50 ppm).
DJA1...
Digital Jitter Attenuation DCO-R 0... 1... Jitter attenuation of the system/transmit clock is done using an external pullable crystal between pins XTAL1/2 Jitter attenuation of the system/transmit clock is done without using an external pullable crystal between pins XTAL1/2. Only a free running 16.384-MHz clock has top be provided at XTAL1.
SCF...
Select Corner Frequency of DCO-R Setting this bit reduces the corner frequency of the DCO-R circuit by the factor of ten to 0.6 Hz.
Reducing the corner frequency of the DCO-R circuitry increases the synchronization time before the frequencies are synchronized.
ELT... Enable Loop-Timed 0... normal operation 1... Transmit clock is generated from the clock supplied by XTAL3 which is synchronized with the extracted receive route clock. In this configuration the transmit elastic buffer has to be enabled. Refer to register FMR5.XTM. For correct operation of loop timed the remote loop (bit LIM1.RL = 0) must be inactive. LOS2...1... Loss of Signal Recovery condition 00... The LOS alarm is cleared if the predefined pulse density (register PCR) is detected during the time interval which is defined by register PCD. 01... Additionally to the recovery condition described above a LOS alarm is only cleared if the pulse density is fulfilled and no more than 15 contiguous zeros are detected during the recovery interval. (according to TR-NWT 499). 10... Clearing of a LOS alarm is done if the pulse density is fulfilled and no more than 99 contiguous zeroes are detected during the recovery interval (according to TR-NWT 820). 11... not assigned
Data Sheet 296 2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Loop Code Register 1 (Read/Write) Value after RESET: 00H 7 LCR1 EPRM...
EPRM XPRBS LDC1 LDC0 LAC1 LAC0 FLLB
0
LLBP
(39)
Enable Pseudo Random Bit Sequence Monitor 0... 1... Pseudo random bit sequence (PRBS) monitor is disabled. PRBS monitor is enabled. Setting this bit enables incrementing the CEC2 error counter with each detected PRBS bit error. With any change of state of the PRBS internal synchronization status an interrupt ISR1.LLBSC is generated. The current status of the PRBS synchronizer is indicated by bit FRS1.LLBAD. The expected PRBS sequence has to be selected by bit LCR1.LLBP. The PRBS status signal is output on pin RFSP, if XC0.SFRZ=1 and LCR1.EPRM=1. It is set high, if the PRBS monitor is in synchronous state.
XPRBS...
Transmit Pseudo Random Bit Sequence A one in this bit position enables transmitting of a pseudo random bit sequence to the remote end. Depending on pit LLBP the PRBS is generated according to 215 -1 or 220-1 ( ITU-T O. 151).
LDC1...0...
Length Deactivate (Down) Code These bits defines the length of the LLB deactivate code which is programmable in register LCR2. 00... length: 5 bit 01... length: 6 bit 10... length: 7 bit 11... length: 8 bit If a shorter pattern length is required, select a multiple of the required length and repeat the pattern in LCR2.
Data Sheet
297
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers LAC1...0... Length Activate (Up) Code These bits defines the length of the LLB activate code which is programmable in register LCR3. 00... length: 5 bit 01... length: 6 bit 10... length: 7 bit 11... length: 8 bit If a shorter pattern length is required, select a multiple of the required length and repeat the pattern in LCR3. FLLB... Framed Line Loopback/Invert PRBS Depending on bit LCR1.XPRBS this bit enables different functions: LCR1.XPRBS=0: 0... 1... The line loopback code is transmitted including framing bits. LLB code overwrites the FS/DL bits. The line loopback code is transmitted unframed. LLB code does not overwrite the FS/DL bits.
Invert PRBS LCR1.XPRBS=1: 0... 1... LLBP... The generated PRBS is transmitted not inverted. The PRBS is transmitted inverted.
Line Loopback Pattern LCR1.XPRBS=0 0... 1... Fixed line loopback code according to ANSI T1. 403 (001 = loop down or 00001 = loop up). Enable user programmable line loopback code via register LCR2/3. 215 -1 220 -1
LCR1.XPRBS=1 or LCR1.EPRM = 1 0... 1...
Data Sheet
298
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Loop Code Register 2 (Read/Write) Value after RESET: 00H 7 LCR2
LDC7
0
LDC0
(3A)
LDC7...LDC0...
Line Loopback Deactivate Code If enabled by bit FMR5.XLD the LLB deactivate code is repeated automatically until the LLB generator is stopped. Transmit data is overwritten by the LLB code. LDC0 is transmitted last. If the selected code length is less than 8 bit, the leftmost bits of LCR2 are ignored. For correct operations bit LCR1.XPRBS has to be cleared.
Loop Code Register 3 (Read/Write) Value after RESET: 00H 7 LCR3
LAC7
0
LAC0
(3B)
LAC7...LAC0...
Line Loopback Activate Code If enabled by bit FMR5.XLU the LLB activate code is repeated automatically until the LLB generator is stopped. Transmit data is overwritten by the LLB code. LAC0 is transmitted last. If the selected code length is less than 8 bit, the leftmost bits of LCR3 are ignored. For correct operations bit LCR1.XPRBS has to be cleared.
Data Sheet
299
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers System Interface Control 1 (Read/Write) Value after RESET: 00H 7 SIC1 SRSC...
SRSC RBS1 RBS0 SXSC XBS1
0
XBS0
(3C)
Select Receive System Clock 0... Input frequency on pin SCLKR: 8.192 MHz Calculation of delay time T (SCLKR cycles) depends on the value X of the "Receive Counter Offset" register RC1/0 and of the programming of RC0.RCOS. Delay T is an even number in the range of 0 to 1022: RCOS = 0: X = 5 - T/2 if 0 T 10 X = 517 - T/2 if 12 T 1022 Delay T is an odd number in the range of 1 to 1023: RCOS = 1: X = 5 - (T - 1)/2 if 1 T 11 X = 517 - (T - 1)/2 if 13 T 1023 1... Input frequency on pin SCLKR: 1.544 MHz Calculation of delay time T (SCLKR cycles) depends on the value X of the "Receive Counter Offset" register RC1/0: T = (196 - x/2) mod 193 Delay time T = time between beginning of time-slot 0 at RDO and the initial edge of SCLKR after SYPR goes active. If this bit is set FMR1.IMOD must be set also and bit RC0.0 should be cleared.
RBS1...0...
Receive Buffer Size 00... Buffer size: 2 frames 01... Buffer size: 1 frame 10... Buffer size: 92 bits 11... Bypass of receive elastic store
Data Sheet
300
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers SXSC... Select Transmit System Clock 0... Input frequency on pin SCLKX: 8.192 MHz Calculation of delay time T (SCLKX cycles) depends on the value X of the "Transmit Counter Offset" register XC1/0 and of the programming of XC1.XCOS: Delay T is an even number in the range of 0 to 1022: XCOS = 0: X = 498 -T/2 if 0 T 996 X = 1010 - T/2 if 998 T 1022 Delay T is an odd number in the range of 1 to 1023: XCOS = 1: X = 498-(T-1)/2 if 1 T 997 X = 1010 - (T-1)/2 if 999 T 1023 1... input frequency on pin SCLKX: 1.544 MHz Calculation of delay time T (SCLKX cycles) depends on the value X of the "Transmit Counter Offset" register XC1/0: T = (380 - x/2) mod 193 Delay time T = time between beginning of time-slot 0 at XDI and the initial edge of SCLKX after SYPX goes active. If this bit is set FMR1.IMOD must be set also and bit XC0.0 should be cleared. XBS1...0... Transmit Buffer Size 00... By-pass of transmit elastic store (SCLKX=1.544 MHz) or 1 frame (SCLKX = 8.192MHz) 01... Buffer size: 1 frame 10... Buffer size: 2 frames 11... Buffer size: 92 bits System Interface Control 2 (Read/Write) Value after RESET: 00H 7 SIC2 FFS...
FFS SSF
0
SRFSO
(3D)
Force Freeze Signaling Setting this bit disables updating of the receive signaling buffer and current signaling information is frozen. After resetting this bit and receiving a complete superframe updating of the signaling buffer is
Data Sheet
301
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers started again. The freeze signaling status could be also automatically generated by detecting the Loss of Signal alarm or a Loss of Frame Alignment or a receive slip (only if external register access via RSIG is enabled). This automatic freeze signaling function is logically ored with this bit. The current internal freeze signaling status is available in register SIS.SFS. SSF... Serial Signaling Format Only applicable if pin function R/XSIG is selected. 0... 1... SRFSO... Bits 1...4 in all time-slots except time-slot 0 + 16 are cleared. Bits 1...4 in all time-slots except time-slot 0 + 16 are set high.
Select Receive Frame Sync Output 0... 1... Pin SYPR: Input Pin SYPR: Output
Setting this bit disables the timeslot assigner. With register RC1/0 the receive frame marker could be activated during any bit position of the current frame. This marker is active high for one 1.544-MHz cycle and is clocked off with the falling edge of SCLKR or RCLK if the receive elastic store is bypassed. If no SYPR has been activated since RESET or software reset CMDR.RES the outputs of the receive system interface assumes an arbitrary alignment. Calculation of the value X of the "Receive Counter Offset" register RC1/0 depends on SCLKR and on the bit position BP which should be marked: X = (2BP) mod 386, for SCLKR = 1.544 MHz Line Interface Mode 3 (Read/Write) Value after RESET: 00H 7 LIM3 CSC...
CSC
0
ESY
(3E)
Configure System Clock CLK16M/CLK12M 0... 1... Dejittered XTAL1 or XTAL3 clock is output on CLK16M/ CLK12M. Buffered XTAL1 or XTAL3 clock is output on CLK16M/ CLK12M.
Data Sheet
302
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers ESY... External Synchronization of DCO2 Together with bit LOOP.SPN the functionality of pin 80 is defined: Programming of LOOP.SPN and LIM3.ESY and the corresponding pin function is shown below. SPN/ESY: 00... function of pin 80 XSIG: If SIC3.TTRF = 1, transmit data from the system interface. No input function defined for SIC3.TTRF = 0. 01... function of pin 80 SYNC2: external synchronization input for the DCO-X circuitry. 10... function of pin 80 ROID: Receive Optical Interface Data. 11... function of pin 80 XSIG: Transmit signaling input from the transmit system interface. System Interface Control 3(Read/Write) Value after RESET: 00H 7 SIC3 TTRF... TTR Register Function Setting this bit the function of the TTR1...4 registers are changed. A one in each TTR register forces the XSIGM marker high for the respective time slot and controls sampling of the time slots provided by pin XSIG. XSIG is selected by LOOP.SPN = 0 and LIM3.ESY = 0. DAF... Disable Automatic Freeze Significant only if the serial signaling access is enabled. 0... Signaling is automatically frozen if one of the following alarms occurred: Loss of Signal (FRS0.LOS), Loss of Frame Alignment (FRS0.LFA), or receive slips (ISR3.RSP/N). Automatic freezing of signaling data is disabled. Updating of the signaling buffer is also done if one of the above described alarm conditions is active. However, updating of the signaling buffer is stopped if SIC2.FFS is set.
TTRF
0
DAF
(40)
1...
Data Sheet
303
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Disable Error Counter (Write) Value after RESET: 00H 7 DEC DBEC...
DBEC DCEC DEBC DCVC
0
DFEC
(60)
Disable PRBS Bit Error Counter Only valid if LCR1.EPRM=1 and FMR1.ECM are reset.
DCEC... DEBC... DCVC... DFEC...
Disable CRC Error Counter Disable Errored Block Counter Disable Code Violation Counter Disable Framing Error Counter These bits are only valid if FMR1.ECM is cleared. They have to be set before reading the error counters. They are reset automatically if the corresponding error counter high byte has been read. With the rising edge of these bits the error counters are latched and then cleared.
Data Sheet
304
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Signaling Registers (Write) Value after RESET: not defined FMR5.SRO = 0, FMR5.SRS = 1 7 XS1 XS2 XS3 XS4 XS5 XS6 XS7 XS8 XS9 XS10 XS11 XS12
A8 A16 A24 B8 B16 B24 A/C8 A/C16 A/C24 B/D8 B/D16 B/D24 A7 A15 A23 B7 B15 B23 A/C7 A/C15 A/C23 B/D7 B/D15 B/D23 A6 A14 A22 B6 B14 B22 A/C6 A/C14 A/C22 B/D6 B/D14 B/D22 A5 A13 A21 B5 B13 B21 A/C5 A/C13 A/C21 B/D5 B/D13 B/D21 A4 A12 A20 B4 B12 B20 A/C4 A/C12 A/C20 B/D4 B/D12 B/D20 A3 A11 A19 B3 B11 B19 A/C3 A/C11 A/C19 B/D3 B/D11 B/D19 A2 A10 A18 B2 B10 B18 A/C2 A/C10 A/C18 B/D2 B/D10 B/D18
0
A1 A9 A17 B1 B9 B17 A/C1 A/C9 A/C17 B/D1 B/D9 B/D17
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B)
FMR5.SRO = 1, FMR5.SRS = 1 7 XS1 XS2 XS3 XS4 XS5 XS6 XS7 XS8 XS9 XS10 XS11 XS12
A1 A3/A5 A5/A9 A7/A13 A9/A17 A11/A21 A13/A1 A15/A5 A17/A9 A19/A13 A21/A17 A23/A21 B1 B3/B5 B5/B9 B7/B13 B9/B17 B11/B21 B13/B1 B15/B5 B17/B9 B19/B13 B21/B17 B23/B21 C1/A2 C3/A6 C5/A10 C7/A14 C9/A18 C11/A22 C13/A2 C15/A6 C17/A10 C19/A14 C21/A18 C23/A22 D1/B2 D3/B6 D5/B10 D7/B14 D9/B18 D11/B22 D13/B2 D15/B6 D17/B10 D19/B14 D21/B18 D23/B22 A2/A3 A4/A7 A6/A11 A8/A15 A10/A19 A12/A23 A14/A3 A16/A7 A18/A11 A20/A15 A22/A19 A24/A23 B2/B3 B4/B7 B6/B11 B8/B15 B10/B19 B12/B23 B14/B3 B16/B7 B18/B11 B20/B15 B22/B19 B24/B23 C2/A4 C4/A8 C6/A12 C8/A16 C10/A20 C12/A24 C14/A4 C16/A8 C18/A12 C20/A16 C22/A20 C24/A24
0
D2/B4 D4/B8 D6/B12 D8/B16 D10/B20 D12/B24 D14/B4 D16/B8 D18/B12 D20/B16 D22/B20 D24/B24
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B)
Data Sheet
305
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Transmit Signaling Register 1...12 The transmit signaling register access is enabled by setting bit FMR5.EIBR = 1. Each register contains the bit-robbing information for 8 DS0 channels. Starting with XMB (transmit multiframe begin), the contents of these registers is copied into a shadow register bank. Upon completion, CAS empty interrupt ISR1.CASE is set. The contents of the shadow registers is sent out subsequently in the corresponding bit positions of the next outgoing multiframe. The transmit CAS empty interrupt ISR1.CASE requests that these registers should be serviced within the next 3 ms before the next multiframe begin. If requests for new information are ignored, current contents is repeated. If access to XS1...12 registers is done without control of the interrupt ISR1.CASE and the write access to these registers is done exact in that moment when this interrupt is generated, data may be lost.
Note: A software reset (CMDR.XRES) resets these registers.
Data Sheet
306
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers
10.3
*
T1/J1 Status Register Addresses
T1/J1 Status Register Address Arrangement Register Type Comment RFIFO RFIFO RES FRS0 FRS1 FRS2 FRS3 FECL FECH CVCL CVCH CECL CECH EBCL EBCH BECL BECH RDL1 RDL2 RDL3 SIS RSIS RBCL RBCH ISR0 ISR1 ISR2 ISR3 ISR5 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R Receive FIFO Receive FIFO Receive Equalizer Status Framer Receive Status 0 Framer Receive Status 1 Framer Receive Status 2 Framer Receive Status 3 Framing Error Counter Low Framing Error Counter High Code Violation Counter Low Code Violation Counter High CRC Error Counter Low CRC Error Counter High Errored Block Counter Low Errored Block Counter High Bit Error Counter Low Bit Error Counter High Receive DL-Bit Register 1 Receive DL-Bit Register 2 Receive DL-Bit Register 3 Signaling Status Register Receive Byte Control Low Receive Byte Control High Interrupt Status Register 0 Interrupt Status Register 1 Interrupt Status Register 2 Interrupt Status Register 3 Interrupt Status Register 5
307
Table 55 00 01 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5C 5D 5E 64 65 66 67 68 69 6A 6B 6C
Data Sheet
Address
Page 309 309 309 310 312 314 315 316 316 317 317 318 318 319 319 320 320 321 321 321 322 325 325 325 327 328 330 331
2000-07
Receive Signaling Status Register 323
PEB 2255 FALC-LH V1.3
T1/J1 Registers Table 55 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B T1/J1 Status Register Address Arrangement (cont'd) Register Type Comment GIS VSTR RS1 RS2 RS3 RS4 RS5 RS6 RS7 RS8 RS9 RS10 RS11 RS12 R R R R R R R R R R R R R R Global Interrupt Status Version Status Receive Signaling Register 1 Receive Signaling Register 2 Receive Signaling Register 3 Receive Signaling Register 4 Receive Signaling Register 5 Receive Signaling Register 6 Receive Signaling Register 7 Receive Signaling Register 8 Receive Signaling Register 9 Receive Signaling Register 10 Receive Signaling Register 11 Receive Signaling Register 12 Page 332 332 333 333 333 333 333 333 333 333 333 333 333 333
Address
Data Sheet
308
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers
10.4
Detailed Description of T1/J1 Status Registers
Receive FIFO (Read) 7 RFIFO
RF7
0
RF0
(00/01)
Reading data from RFIFO can be done in an 8-bit (byte) or 16-bit (word) access depending on the selected bus interface mode. The LSB is received first from the serial interface. The size of the accessible part of RFIFO is determined by programming the bits CCR1.RFT1...0 (RFIFO threshold level). It can be reduced from 32 bytes (RESET value) down to 2 bytes (four values: 32, 16, 4, 2 bytes). Data Transfer Up to 32 bytes/16 words of received data can be read from the RFIFO following a RPF or a RME interrupt. RPF Interrupt: A fixed number of bytes/words to be read (32, 16, 4, 2 bytes). The message is not yet complete. RME Interrupt: The message is completely received. The number of valid bytes is determined by reading the RBCL, RBCH registers. RFIFO is released by issuing the "Receive Message Complete" command (RMC).
Receive Equalizer Status (Read) 7 RES EV1...0...
EV1 EV0 RES4 RES3 RES2 RES1
0
RES0
(4B)
Equalizer Status Valid These bits informs the user about the current state of the receive equalization network. Only valid if LIM1.EQON is set. 00... equalizer status not valid, still adapting 01... equalizer status valid 10... equalizer status not valid 11... equalizer status valid but high noise floor
Data Sheet
309
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers RES4...0... Receive Equalizer Status The current line attenuation status in steps of about 1.4 dB are displayed in these bits. Only valid if bits EV1/0 = 01 and LIM1.EQON=1. Accuracy: +/- 2 digit, based on temperature influence and noise amplitude variations. 00000... attenuation: 0 dB ... 11001... max. attenuation: -36 dB
Framer Receive Status Register 0 (Read) 7 FRS0 LOS...
LOS AIS LFA RRA LMFA
0
FSRF
(4C)
Loss of Signal (Red Alarm) Detection: This bit is set when the incoming signal has no transitions" (analog interface) or logical zeros (dig. interface) in a time interval of T consecutive pulses, where T is programmable via PCD register: Total account of consecutive pulses: 16 < T < 4096. Analog interface: The receive signal level where "no transition" is declared is defined by the programmed value of LIM1.RIL2...0. Recovery: Analog interface: The bit is reset in short haul mode when the incoming signal has transitions with signal levels greater than the programmed receive input level (LIM1.RIL2...0) for at least M pulse periods defined by register PCR in the PCD time interval. In long haul mode additionally bit RES.6 must be set for at least 250sec. Digital interface: The bit is reset when the incoming data stream contains at least M ones defined by register PCR in the PCD time interval. With the rising edge of this bit an interrupt status bit (ISR2.LOS) is set. For additionally recovery conditions refer also to register LIM2.LOS1. The bit is set during alarm simulation and reset if FRS2.ESC = 0, 3, 4, 6,7 and no alarm condition exists.
Data Sheet
310
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers AIS... Alarm Indication Signal (Blue Alarm) This bit is set when the conditions defined by bit FMR4.AIS3 are detected. The flag stays active for at least one multiframe. With the rising edge of this bit an interrupt status bit (ISR2.AIS) is set. It is reset with the beginning of the next following multiframe if no alarm condition is detected. The bit is set during alarm simulation and reset if FRS2.ESC = 0, 3, 4, 7 and no alarm condition exists. LFA... Loss of Frame Alignment The flag is set if pulseframe synchronization has been lost. The conditions are specified via bit FMR4.SSC1/0. Setting this bit causes an interrupt (ISR2.LFA). The flag is cleared when synchronization has been regained. Additionally interrupt status ISR2.FAR is set with clearing this bit. RRA... Receive Remote Alarm (Yellow Alarm) The flag is set after detecting remote alarm (yellow alarm). Conditions for setting/resetting are defined by bit RC0.RRAM. With the rising edge of this bit an interrupt status bit ISR2.RA is set. With the falling edge of this bit an interrupt status bit ISR2.RAR is set. The bit is set during alarm simulation and reset if FRS2.ESC = 0, 3, 4,5,7 and no alarm condition exists. LMFA... Loss of Multiframe Alignment Set in F12 or F72 format when 2 out of 4-(or 5 or 6) multiframe alignment patterns are incorrect or if LFA (loss of basic frame alignment) is detected. Additionally the interrupt status bit ISR2.LMFA is set. Cleared after multiframe synchronization has been regained. With the falling edge of this bit an interrupt status bit ISR2.MFAR is generated. FSRF... Frame Search Restart Flag Toggles when no framing candidate (pulse framing or multiframing) is found and a new frame search is started.
Data Sheet
311
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Framer Receive Status Register 1 (Read) 7 FRS1 EXZD...
EXZD PDEN LLBDD LLBAD XLS
0
XLO
(4D)
Excessive Zeros Detected Significant only (FMR2.EXZE=1). if excessive zeros detection is enabled
Set after detecting of more than 7 (B8ZS code) or more than 15 (AMI code) contiguous zeros in the received bit stream. This bit is cleared when read. PDEN... Pulse Density Violation Detected The pulse density of the received data stream is below the requirement defined by ANSI T1. 403 or more than 15 consecutive zeros are detected. With the violation of the pulse density this bit is set and remains active until the pulse density requirement is fulfilled for 23 consecutive '1' pulses. Additionally an interrupt status ISR0.PDEN is generated with the rising edge of PDEN. LLBDD... Line Loop Back Deactivation Signal Detected This bit is set in case the LLB deactivate signal is detected and then received over a period of more than 33,16 ms with a bit error rate less than 1/100. The bit remains set as long as the bit error rate does not exceed 1/100. If framing is aligned, the first bit position of any frame is not taken into account for the error rate calculation. Any change of this bit causes a LLBSC interrupt. LLBAD... Line Loopback Activation Signal Detected/PRBS Status Depending on bit LCR1.EPRM the source of this status bit changed. LCR1.EPRM=0: This bit is set in case the LLB activate signal is detected and then received over a period of more than 33,16 ms with a bit error rate less than 1/100. The bit remains set as long as the bit error rate does not exceed 1/100. If framing is aligned, the first bit position of any frame is not taken into account for the error rate calculation. Any change of this bit causes a LLBSC interrupt.
Data Sheet
312
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers PRBS Status LCR1.EPRM=1: The current status of the PRBS synchronizer is indicated in this bit. It is set high if the synchronous state is reached even in the presence of a BER 1/10. A data stream containing all zeros with/without framing bits is also a valid pseudo random bit sequence. The same applies to an all ones data stream, if PRBS data inversion is selected. XLS... Transmit Line Short Significant only if the ternary line interface is selected by LIM1.DRS=0. 0... 1... Normal operation. No short is detected. The XL1 and XL2 are shortened for at least 32 pulses. As a reaction of the short the pins XL1 and XL2 are automatically forced into a high impedance state if bit XPM2.DAXLT is reset. After 32 consecutive pulse periods the outputs XL1/2 are activated again and the internal transmit current limiter is checked. If a short between XL1/2 is still further active the outputs XL1/2 are in high impedance state again. When the short disappears pins XL1/2 are activated automatically and this bit is reset. With any change of this bit an interrupt ISR1.XLSC is generated. In case of XPM2.XLT is set this bit is frozen. Pins XL1M and XL2M have to be connected to XL1 and XL2, respectively.
XLO...
Transmit Line Open 0... 1... Normal operation This bit is set if at least 32 consecutive zeros were sent via pins XL1/XL2 respective XDOP/XDON. This bit is reset with the first transmitted pulse. With the rising edge of this bit an interrupt ISR1.XLSC is set. In case of XPM2.XLT is set this bit is frozen.
Data Sheet
313
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Framer Receive Status Register 2 (Read) 7 FRS2
ESC2 ESC1 ESC0
0 (4E)
ESC2...ESC0...
Error Simulation Counter This three-bit counter is incremented by setting bit FMR0.SIM. The state of the counter determines the function to be tested: For complete checking of the alarm indications, eight simulation steps are necessary (FRS2.ESC = 0 after a complete simulation).
Tested Alarms ESC2 ... 0 = LFA LMFA RRA (bit2 =0) RRA (S-bit frame 12) RRA (DL-pattern) LOS EBC (F12,F72) EBC (only ESF) AIS FEC CVC CEC (only ESF) SLPP SLPN XSLP
0
1
2 x x
3
4
5
6 x x
7
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
Some of these alarm indications are simulated only if the FALC(R)-LH is configured in the appropriate mode. At simulation steps 0, 3, 4, and 7 pending status flags are reset automatically and clearing of the error counters and interrupt status registers ISR0...3 should be done. Incrementing the simulation counter should not be done at time intervals shorter than 1.5 ms (F4, F12, F72) or 3 ms (ESF). Otherwise, reactions of initiated simulations may occur at later steps.
Data Sheet
314
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Framer Receive Status Register 3 (Read) 7 FRS3 FEH5...0...
FEH5 FEH4 FEH3 FEH2 FEH1
0
FEH0
(4F)
F-Bit Error History The bits are set if errors occur in the corresponding framing bit locations. They are updated once per superframe (ESF format) or every six frames (other framing formats). Organization: ESF FEH5:FAS(24) FEH4:FAS(20) FEH3:FAS(16) FEH2:FAS(12) FEH1:FAS(8) FEH0:FAS(4) Others FT (6 or 12) FT (5 or 11) FT (4 or 10) FT (3 or 9) FT (2 or 8) FT (1 or 7)
Note:All error history bits corresponding to FS bits substituted by data link information are fixed to `0'.
Data Sheet
315
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Framing Error Counter (Read) 7 FECL
FE7
0
FE0
(50)
7 FECH
FE15
0
FE8
(51)
FE15...0...
Framing Errors This 16-bit counter is incremented when incorrect FT and FS bits in F4, F12 and F72 format or incorrect FAS bits in ESF format are received. Framing errors are counted during basic frame synchronous state only (but even if multiframe synchronous state is not reached yet). The error counter doesn't roll over. During alarm simulation, the counter is incremented twice. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DFEC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DFEC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
316
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Code Violation Counter (Read) 7 CVCL
CV7
0
CV0
(52)
7 CVCH
CV15
0
CV8
(53)
CV15...0...
Code Violations No function if NRZ code has been enabled. If the B8ZS code (bit FMR0.RC1/0 = 11) is selected, the 16-bit counter is incremented by detecting violations which are not due to zero substitution. If FMR2.EXZE is set, additionally excessive zero strings (more than 7 contiguous zeros) are detected and counted. If simple AMI coding is enabled (FMR0.RC0/1 = 10) all bipolar violations are counted. If FMR2.EXZE is set, additionally excessive zero strings (more than 15 contiguous zeros) are detected and counted. The error counter doesn't roll over. During alarm simulation, the counter is incremented continuously with every second received bit. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCVC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCVC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
317
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers CRC Error Counter (Read) 7 CECL
CR7
0
CR0
(54)
7 CECH
CR15
0
CR8
(55)
CR15...0...
CRC Errors No function if CRC6 procedure or ESF format are disabled. In ESF mode, the 16-bit counter is incremented when a multiframe has been received with a CRC error. CRC errors are not counted during asynchronous state. The error counter doesn't roll over. During alarm simulation, the counter is incremented once per multiframe. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DCEC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DCEC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
318
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Errored Block Counter (Read) 7 EBCL
EBC7
0
EBC0
(56)
7 EBCH
EBC15
0
EBC8
(57)
EBC15...0...
Errored Block Counter In ESF format this 16-bit counter is incremented once per multiframe if a multiframe has been received with a CRC error or an errored frame alignment has been detected. CRC and framing errors are not counted during asynchronous state. The error counter doesn't roll over. In F4/12/72 format an errored block contain 4/12 or 72 frames. Incrementing is done once per multiframe if framing errors has been detected. During alarm simulation, the counter is incremented in ESF format once per multiframe and in F4/12/72 format only one time. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the error counter bit DEC.DEBC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DEBC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
319
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Bit Error Counter (Read) 7 BECL
BEC7
0
BEC0
(58)
7 BECH
BEC15
0
BEC8
(59)
BEC15...0...
Bit Error Counter If the PRBS monitor is enabled by LCR1.EPRM= 1 this 16-bit counter is incremented with every received PRBS bit error in the PRBS synchronous state FRS1.LLBAD=1. The error counter doesn't roll over. During alarm simulation, the counter is incremented continuously with every second received bit. Clearing and updating the counter is done according to bit FMR1.ECM. If this bit is reset the error counter is permanently updated in the buffer. For correct read access of the PRBS bit error counter bit DEC.DBEC has to be set. With the rising edge of this bit updating the buffer is stopped and the error counter is reset. Bit DEC.DBEC is reset automatically with reading the error counter high byte. If FMR1.ECM is set every second (interrupt ISR3.SEC) the error counter is latched and then automatically reset. The latched error counter state should be read within the next second.
Data Sheet
320
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive DL-Bit Register 1 (Read) 7 RDL1
RDL17 RDL16 RDL15 RDL14 RDL13 RDL12 RDL11
0
RDL10
(5C)
RDL17...10...
Receive DL-Bit Only valid if F12, F24 or F72 format is enabled. The received FS/DL-Bits are shifted into this register. RDL10 is received in frame 1 and RDL17 in frame 15, if F24 format is enabled. RDL10 is received in frame 26 and RDL17 in frame 40, if F72 format is enabled. In F12 format the FS-Bits of a complete multiframe is stored in this register. RDL10 is received in frame 2 and RDL15 in frame 12. This register is updated with every receive multiframe begin interrupt ISR0.RMB.
Receive DL-Bit Register 2 (Read) 7 RDL2
RDL27 RDL26 RDL25 RDL24 RDL23 RDL22 RDL21
0
RDL20
(5D)
RDL27...20...
Receive DL-Bit Only valid if F24 or F72 format is enabled. The received DL-Bits are shifted into this register. RDL20 is received in frame 17 and RDL23 in frame 23, if F24 format is enabled. RDL20 is received in frame 42 and RDL27 in frame 56, if F72 format is enabled. This register is updated with every receive multiframe begin interrupt ISR0.RMB.
Receive DL-Bit Register 3 (Read) 7 RDL3
RDL37
0
RDL30
(5E)
RDL37...30...
Receive DL-Bit Only valid if F72 format is enabled. The received DL-Bits are shifted into this register. RDL30 is received in frame 58 and RDL37 in frame 72, if F72 format is enabled.
Data Sheet
321
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers This register is updated with every receive multiframe begin interrupt ISR0.RMB. Signaling Status Register (Read) 7 SIS XDOV...
XDOV XFW XREP RLI CEC SFS
0
BOM
(64)
Transmit Data Overflow More than 32 bytes have been written to the XFIFO. This bit is reset by: - a transmitter reset command XRES or - when all bytes in the accessible half of the XFIFO have been moved in the inaccessible half.
XFW...
Transmit FIFO Write Enable Data can be written to the XFIFO.
XREP...
Transmission Repeat Status indication of CMDR.XREP.
RLI...
Receive Line Inactive Neither FLAGs as Interframe Time Fill nor frames are received via the signaling timeslot.
CEC...
Command Executing 0... 1... No command is currently executed, the CMDR register can be written to. A command (written previously to CMDR) is currently executed, no further command can be temporarily written in CMDR register.
Note: CEC is active at most 2.5 periods of the current system data rate.
SFS... Status Freeze Signaling 0... 1... freeze signaling status inactive. freeze signaling status active.
Data Sheet
322
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers BOM... Bit Oriented Message Significant only in ESF frame format and auto switching mode is enabled. 0... 1... HDLC mode BOM mode
Receive Signaling Status Register (Read) 7 RSIS
VFR RDO CRC16 RAB HA1 HA0 HFR
0
LA
(65)
RSIS relates to the last received HDLC or BOM frame; it is copied into RFIFO when endof-frame is recognized (last byte of each stored frame). VFR... Valid Frame Determines whether a valid frame has been received. 1... 0... valid HDLC frame invalid HDLC frame
An invalid frame is either - a frame which is not an integer number of 8 bits (n x 8 bits) in length (e.g. 25 bits), or - a frame which is too short taking into account the operation mode selected via MODE (MDS2...0) and the selection of receive CRC ON/OFF (CCR3.RCRC) as follows: * MDS2...0 = 011 (16 bit Address), RCRC = 0 : 4 bytes; RCRC = 1 : 3-4 bytes * MDS2...0 = 010 (8 bit Address), RCRC = 0 : 3 bytes; RCRC = 1 : 2-3 bytes
Note:Shorter frames are not reported.
RDO... Receive Data Overflow A data overflow has occurred during reception of the frame. Additionally, an interrupt can be generated (refer to ISR1.RDO/IMR1.RDO). CRC16... CRC16 Compare/Check 0... 1... CRC check failed; received frame contains errors. CRC check o.k.; received frame is error-free.
Data Sheet
323
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers RAB... Receive Message Aborted The received frame was aborted from the transmitting station. According to the HDLC protocol, this frame must be discarded by the receiver station. HA1...0... High Byte Address Compare Significant only if 2-byte address mode has been selected. In operating modes which provide high byte address recognition, the FALC(R)-LH compares the high byte of a 2-byte address with the contents of two individually programmable registers (RAH1, RAH2) and the fixed values FEH and FCH (broadcast address). Dependent on the result of this comparison, the following bit combinations are possible (SS7 support not active): 00... RAH2 has been recognized 01... Broadcast address has been recognized 10... RAH1 has been recognized C/R = 0 (bit 1) 11... RAH1 has been recognized C/R = 1 (bit 1)
Note: If RAH1, RAH2 contain identical values, a match is indicated by `10' or `11'.
HFR ... HDLC Frame Format 0... 1... A BOM frame was received. A HDLC frame was received.
Note: Bits RSIS.7...2 and RSIS.0 are not valid with a BOM frame. This means, if HFR=0, all other bits of RSIS have to be ignored
LA ... Low Byte Address Compare Significant in HDLC modes only. The low byte address of a 2-byte address field, or the single address byte of a 1-byte address field is compared with two registers. (RAL1, RAL2). 0... 1... RAL2 has been recognized RAL1 has been recognized
Data Sheet
324
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Byte Count Low (Read) 7 RBCL
RBC7
0
RBC0
(66)
Together with RBCH (bits RBC11...8), indicates the length of a received frame (1...4095 bytes). Bits RBC4...0 indicate the number of valid bytes currently in RFIFO. These registers must be read by the CPU following a RME interrupt. Received Byte Count High (Read)
7 RBCH OV... Counter Overflow More than 4095 bytes received. RBC11...8... Receive Byte Count (most significant bits)
OV RBC11 RBC10 RBC9
0
RBC8
(67)
Together with RBCL (bits RBC7...0) indicate the length of the received frame.
Interrupt Status Register 0 (Read) Value after RESET: 00H 7 ISR0
RME RFS ISF RMB RSC CRC6 PDEN
0
RPF
(68)
All bits are reset when ISR0 is read. If bit IPC.VIS is set, interrupt statuses in ISR0 may be flagged although they are masked via register IMR0. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. RME... Receive Message End One complete message of length less than 32 bytes, or the last part of a frame at least 32 bytes long is stored in the receive FIFO, including the status byte.
Data Sheet 325 2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers The complete message length can be determined reading the RBCH, RBCL registers, the number of bytes currently stored in RFIFO is given by RBC4...0. Additional information is available in the RSIS register. RFS... Receive Frame Start This is an early receiver interrupt activated after the start of a valid frame has been detected, i.e. after an address match (in operation modes providing address recognition), or after the opening flag (transparent mode 0) is detected, delayed by two bytes. After an RFS interrupt, the contents of RSIS.3...1 is valid and can be read by the CPU. ISF... Incorrect Sync Format The FALC(R)-LH could not detect eight consecutive one's within 32 bits in BOM mode. Only valid if BOM receiver has been activated. RMB... Receive Multiframe Begin This bit is set with the beginning of a received multiframe of the receive line timing. RSC... Received Signaling Information Changed This interrupt bit is set during each multiframe in which signaling information on at least one channel changes its value from the previous multiframe. This interrupt only occurs in the synchronous state. The registers RS1...6/RS1...12 should be read within the next 3 ms otherwise the contents may be lost. CRC6... Receive CRC6 Error 0... 1... PDEN... No CRC6 error occurs. The CRC6 check of a received multiframe failed.
Pulse Density Violation The pulse density violation of the received data stream defined by ANSI T1. 403 is violated. More than 15 consecutive zeros or less than N ones in each and every time window of 8x(N+1) data bits (N=23) are detected. If IPC.SCI is set high this interrupt status bit is activated with every change of state of FRS1.PDEN.
RPF...
Receive Pool Full 32 bytes of a frame have arrived in the receive FIFO. The frame is not yet received completely.
Data Sheet
326
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Interrupt Status Register 1 (Read) 7 ISR1
CASE RDO ALLS XDU XMB XLSC
0
XPR
(69)
All bits are reset when ISR1 is read. If bit IPC.VIS is set, interrupt statuses in ISR1 may be flagged although they are masked via register IMR1. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. CASE... Transmit CAS Register Empty In ESF format this bit is set with the beginning of a transmitted multiframe related to the internal transmitter timing. In F12 format this bit is set with the beginning of a transmitted multiframe, if bit FMR5.SRS = 0. If FMR5.SRS = 1, this bit is set at every second multiframe begin. In F72 format this interrupt occurs every 12/24 frames (FMR5.SRS = 0/1) to inform the user that new bit-robbing data has to be written to XS1...6 registers (see Table 36 "72-Frame Multiframe Structure (T1/J1)" on page 146). RDO... Receive Data Overflow This interrupt status indicates that the CPU did not respond fast enough to an RPF or RME interrupt and that data in RFIFO has been lost. Even when this interrupt status is generated, the frame continues to be received when space in the RFIFO is available again.
Note:Whereas the bit RSIS.RDO in the frame status byte indicates whether an overflow occurred when receiving the frame currently accessed in the RFIFO, the ISR1.RDO interrupt status is generated as soon as an overflow occurs and does not necessarily pertain to the frame currently accessed by the processor.
ALLS... All Sent This bit is set if the last bit of the current frame has been sent out completely and XFIFO is empty.
Data Sheet
327
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XDU... Transmit Data Underrun Transmitted frame was terminated with an abort sequence because no data was available for transmission in XFIFO and no XME was issued.
Note: Transmitter and XFIFO are reset and deactivated if this condition occurs. They are re-activated not before this interrupt status register has been read. Thus, XDU should not be masked via register IMR1.
XMB... Transmit Multiframe Begin This bit is set with the beginning of a transmitted multiframe related to the internal transmit line interface timing. XLSC... Transmit Line Status Change XLSC is set with the rising edge of the bit FRS1.XLO or with any change of bit FRS1.XLS. The actual status of the transmit line monitor can be read from the FRS1.XLS and FRS1.XLO. XPR... Transmit Pool Ready A data block of up to 32 bytes can be written to the transmit FIFO. XPR enables the fastest access to XFIFO. It has to be used for transmission of long frames, back-to-back frames or frames with shared flags.
Interrupt Status Register 2 (Read) 7 ISR2
FAR LFA MFAR LMFA AIS LOS RAR
0
RA
(6A)
All bits are reset when ISR2 is read. If bit PIC.VIS is set, interrupt statuses in ISR2 may be flagged although they are masked via register IMR2. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. FAR... Frame Alignment Recovery The framer has reached synchronization. Set with the falling edge of bit FSR0.LFA. It is set also after alarm simulation is finished and the receiver is still synchronous.
Data Sheet 328 2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers LFA... Loss of Frame Alignment The framer has lost synchronization and bit FRS0.LFA is set. It is set during alarm simulation. MFAR... Multiframe Alignment Recovery Set when the framer has reached multiframe alignment in F12 or F72 format. With the negative transition of bit FRS0.LMFA this bit is set. It is set during alarm simulation. LMFA... Loss of Multiframe Alignment Set when the framer has lost the multiframe alignment in F12 or F72 format. With the positive transition of bit FRS0.LMFA this bit is set. It is set during alarm simulation. AIS... Alarm Indication Signal (Blue Alarm) This bit is set when an alarm indication signal is detected and bit FRS0.AIS is set. If IPC.SCI is set high this interrupt status bit is activated with every change of state of FRS0.AIS. It is set during alarm simulation. LOS... Loss of Signal (Red Alarm) This bit is set when a loss of signal alarm is detected in the received data stream and FRS0.LOS is set. If IPC.SCI is set high this interrupt status bit is activated with every change of state of FRS0.LOS. It is set during alarm simulation. RAR... Remote Alarm Recovery Set if a remote alarm (yellow alarm) is cleared and bit FRS0.RRA is reset. It is set also after alarm simulation is finished and no remote alarm is detected. RA... Remote Alarm A remote alarm (yellow alarm) is detected. Set with the rising edge of bit FRS0.RRA. It is set during alarm simulation.
Data Sheet
329
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Interrupt Status Register 3 (Read) 7 ISR3
ES SEC XSLP LLBSC RSN
0
RSP
(6B)
All bits are reset when ISR3 is read. If bit IPC.VIS is set, interrupt statuses in ISR3 may be flagged although they are masked via register IMR3. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. ES... Errored Second This bit is set if at least one enabled interrupt source via ESM is set during the time interval of one second. Interrupt sources of ESM register: LFA = FER = CER = AIS = LOS = CVE = SLIP= SEC... Loss of frame alignment detected Framing error received CRC error received Alarm indication signal (blue alarm) Loss of signal (red alarm) Code violation detected Transmit Slip or Receive Slip positive/negative detected
Second Timer The internal one second timer has expired. The timer is derived from clock RCLK.
XSLP...
Transmit Slip Indication Only valid if register SIC1.XBS1/0 = 01. A one in this bit position indicates that there is an error in the host clock system. If the wander of the transmit route clock, which normally is phase locked to a common submultiple of the system clock (SCLKX), is too great, data transmission errors occur. In that case, the transmit speech memory has to be reset to its start position by writing the initial value to the transmit time-slot counter XC1.XTO.
LLBSC...
Line Loop Back Status Change/PRBS Status Change Depending on bit LCR1.EPRM the source of this interrupt status changed: LCR1.EPRM=0: This bit is set, if the LLB activate signal or the LLB deactivate signal respective is detected over a period of 33,16 ms with a bit error rate less than 1/100.
Data Sheet
330
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers The LLBSC bit is also set, if the current detection status is left, i.e., if the bit error rate exceeds 1/100. The actual detection status can be read from the FRS1.LLBAD and FRS1.LLBDD, respectively. PRBS Status Change LCR1.EPRM=1: With any change of state of the PRBS synchronizer this bit is set. The current status of the PRBS synchronizer is indicated in FRS1.LLBAD. RSN... Receive Slip Negative The frequency of the receive route clock is greater than the frequency of the receive system interface working clock based on 1.544 MHz. It is set during alarm simulation. In 2-frame buffer mode a frame is skipped. RSP... Receive Slip Positive The frequency of the receive route clock is less than the frequency of the receive system interface working clock based on 1.544 MHz. It is set during alarm simulation. In 2-frame buffer mode a frame is repeated. Interrupt Status Register 4 (Read) 7 ISR5
XSP XSN
0 (6C)
All bits are reset when ISR5 is read. If bit IPC.VIS is set, interrupt statuses in ISR5 may be flagged although they are masked via register IMR5. However, these masked interrupt statuses neither generate a signal on INT, nor are visible in register GIS. XSP... Transmit Slip Positive The frequency of the transmit clock is less than the frequency of the transmit system interface working clock based on 1.544 MHz. After a slip has performed writing of register XC1 is not necessary. In 2-frame buffer mode a frame is repeated.
Data Sheet
331
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers XSN... Transmit Slip Negative The frequency of the transmit clock is greater than the frequency of the transmit system interface working clock based on 1.544 MHz. After a slip has performed writing of register XC1 is not necessary. In 2-frame buffer mode a frame is skipped. Global Interrupt Status Register (Read) Value after RESET: 00H 7 GIS
ISR5 ISR3 ISR2 ISR1
0
ISR0
(6E)
This status register points to pending interrupts sourced by ISR5, 3...0. Version Status Register (Read) 7 VSTR VN7...0...
VN7
0
VN0
(6F)
Version Number of Chip 10H...Version 1.1 13H...Version 1.3
Data Sheet
332
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Signaling Registers (Read) Value after RESET: not defined FMR5.SRO = 0 7 RS1 RS2 RS3 RS4 RS5 RS6 RS7 RS8 RS9 RS10 RS11 RS12
A8 A16 A24 B8 B16 B24 A/C8 A/C16 A/C24 B/D8 B/D16 B/D24 A7 A15 A23 B7 B15 B23 A/C7 A/C15 A/C23 B/D7 B/D15 B/D23 A6 A14 A22 B6 B14 B22 A/C6 A/C14 A/C22 B/D6 B/D14 B/D22 A5 A13 A21 B5 B13 B21 A/C5 A/C13 A/C21 B/D5 B/D13 B/D21 A4 A12 A20 B4 B12 B20 A/C4 A/C12 A/C20 B/D4 B/D12 B/D20 A3 A11 A19 B3 B11 B19 A/C3 A/C11 A/C19 B/D3 B/D11 B/D19 A2 A10 A18 B2 B10 B18 A/C2 A/C10 A/C18 B/D2 B/D10 B/D18
0
A1 A9 A17 B1 B9 B17 A/C1 A/C9 A/C17 B/D1 B/D9 B/D17
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B)
FMR5.SRO = 1 7 RS1 RS2 RS3 RS4 RS5 RS6 RS7 RS8 RS9 RS10 RS11 RS12
A1 A3/A5 A5/A9 A7/A13 A9/A17 A11/A21 A13/A1 A15/A5 A17/A9 A19/A13 A21/A17 A23/A21 B1 B3/B5 B5/B9 B7/B13 B9/B17 B11/B21 B13/B1 B15/B5 B17/B9 B19/B13 B21/B17 B23/B21 C1/A2 C3/A6 C5/A10 C7/A14 C9/A18 C11/A22 C13/A2 C15/A6 C17/A10 C19/A14 C21/A18 C23/A22 D1/B2 D3/B6 D5/B10 D7/B14 D9/B18 D11/B22 D13/B2 D15/B6 D17/B10 D19/B14 D21/B18 D23/B22 A2/A3 A4/A7 A6/A11 A8/A15 A10/A19 A12/A23 A14/A3 A16/A7 A18/A11 A20/A15 A22/A19 A24/A23 B2/B3 B4/B7 B6/B11 B8/B15 B10/B19 B12/B23 B14/B3 B16/B7 B18/B11 B20/B15 B22/B19 B24/B23 C2/A4 C4/A8 C6/A12 C8/A16 C10/A20 C12/A24 C14/A4 C16/A8 C18/A12 C20/A16 C22/A20 C24/A24
0
D2/B4 D4/B8 D6/B12 D8/B16 D10/B20 D12/B24 D14/B4 D16/B8 D18/B12 D20/B16 D22/B20 D24/B24
(70) (71) (72) (73) (74) (75) (76) (77) (78) (79) (7A) (7B)
Data Sheet
333
2000-07
PEB 2255 FALC-LH V1.3
T1/J1 Registers Receive Signaling Register 1...12 Each register contains the received bit-robbing information for 8 DS0 channels. The received robbed-bit signaling information of a complete ESF multiframe is compared with the previously received one. In F12/72 frame format the received signaling information of every 24 frames are compared with the previously received 24 frames. If the contents changed a receive signaling change interrupt ISR0.RSC is generated and informs the user that a new multiframe has to be read within the next 3 ms. Received data is stored in registers RS1...12. RS1.7 is received in channel 1 frame 1 and RS12.0 in channel 24 frame 24 (ESF). If requests for reading the RS1...12 registers is ignored the received data may be lost. Additionally a receive signaling data change pointer indicates an update of register RS1...12. Refer also to register RSP1/2. Access to RS1...12 registers is only valid if the serial receive signaling access on the system highway is disabled.
Data Sheet
334
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11
11.1
Table 56 Parameter
Electrical Characteristics
Absolute Maximum Ratings
Maximum Ratings Symbol Limit Values - 40 to 85 - 65 to 150 - 0.4 to 6.5 - 0.4 to 6.5 - 0.4 to 6.5 - 0.4 to 6.5 1000 Unit C C V V V V V
Ambient temperature under bias Storage temperature IC supply voltage (digital) IC supply voltage receive (analog) IC supply voltage transmit (analog) Voltage on any pin with respect to ground ESD robustness HBM: 1.5 k, 100 pF
1)
TA Tstg VDD VDDR VDDX VS
VESD,HBM
1)
According to MIL-Std 883D, method 3015.7 and ESD Ass. Standard EOS/ESD-5.1-1993.
Note: Stresses above those listed here may cause permanent damage to the device. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
11.2
Table 57 Parameter
Operating Range
Power Supply Range Symbol Limit Values min. max. 85 5.25 C V
1)
Unit Test Condition
Ambient temperature Supply voltages
Ground
TA VDD VDDR VDDX VSS VSSR VSSX
-40 4.75
0
0
V
1)
Voltage ripple on analog supply less than 50 mV
Note: In the operating range, the functions given in the circuit description are fulfilled. VDD, V DDR and VDDX have to be connected to the same voltage level, VSS, VSSR and VSSX have to be connected to ground level.
Data Sheet 335 2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.3
Table 58 Parameter
DC Characteristics
DC Parameters Symbol Limit Values min. max. 0.8 V V V V V 1.0 V V mA mA mA E1 application2) T1 application3)
1) 1)
Unit Notes
Input low voltage Input high voltage Output low voltage Output high voltage Input low voltage XTAL Input high voltage XTAL Average power supply current (Analog line interface) Average power supply current (Digital line interface) Input leakage current
VIL VIH VOL VOH1 VOH2 VXTALIL VXTALIH IDDE1 IDDT1 IDD
- 0.4 2.0 2.4 VDD - 0.5 - 0.4 3.5
VDD+ 0.4
0.45
IOL = + 2 mA 1) IOH = - 400A 1) IOH = - 100A 1)
VDD+ 0.4
165 165 85
IIL11 IIL12 IIL21 IIL12 IILX
1 1 1 250 15
A A A A A
VIN = VDD4) VIN = VSS 4) VIN = VDD5) VIN = VSS 5) VSS < VIN < VDD
XTAL measured against VSS
Output leakage current
IOZ
1
A
VOUT = tristate1) VSS < Vmeas < VDD
measured against VDD and VSS
Transmitter output impedance
RX
3
XPM2.XLT=0 (active mode) applies to XL1and XL26) XPM2.XLT=1 (tristate mode) applies to XL1and XL26)
2000-07
6000
Data Sheet
336
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 58 Parameter DC Parameters (cont'd) Symbol Limit Values min. Transmitter output current IXE1 max. 60 75 0 3.6 mA mA V XL1, XL2 ;XLHP=0 XL1, XL2; XLHP=1 Unit Notes
IXT1 Differential peak voltage of VX
a mark (between XL1 and XL2) Transmit Line Monitor Level Receiver differential peak voltage of a mark (between RL1 and RL2) VXM
0.5
1
V
voltage between XL1M and XL2M RL1, RL2
VR
VDD + 5% V
Receiver input impedance ZR Receiver sensitivity
50 (typical value) 0 10
k dB
6)
SRSH
RL1, RL2 LIM0.EQON=0 (short haul) RL1, RL2 LIM0.EQON=1 (E1, long haul) RL1, RL2 LIM0.EQON=1 (T1, long haul)
6)
Receiver sensitivity
SRLHE1
0
43
dB
Receiver sensitivity
SRLHT1
0
36
dB
Receiver input threshold
VRTH
55 (typical value) 1.2 1.0 0.8 0.5 0.4 0.2 not assigned not assigned (typical values)
% V
Loss of signal (LOS) VLOSSH detection limit in short haul mode
RIL2-0 = RIL2-0 = RIL2-0 = RIL2-0 = RIL2-0 = RIL2-0 = RIL2-0 = RIL2-0 =
7)
000 001 010 011 100 101 110 111
1) 2)
Applies to all pins except analog pins RLx, XLx, XTALx, XLMx Wiring conditions and external circuit configuration according to Figure 23 on page 79; values of registers XPM2-0 = BDH, 03H, 00H
Data Sheet
337
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
3)
Wiring conditions and external circuit configuration according to Figure 49 on page 134; values of registers XPM2-0 = 9FH , 27H , 02H Applies to all pins except RCLK, SYNC, TDI, TMS, TCK, RL1, RL2, XL1, XL2 Applies to pins SYNC, TDI, TMS, TCK only Parameter not tested in production Differential input voltage between pins RL1 and RL2; depends on programming of register LIM1.RIL2-0
4) 5) 6) 7)
Note: Typical characteristics specify mean values expected over the production spread. If not specified otherwise, typical characteristics apply at TA = 25 C and 5.0V supply voltage.
Data Sheet
338
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4 11.4.1
*
AC Characteristics Recommended Oscillator Circuits
CL XTAL1(3) T1: 16.384 (12.352) MHz E1: 16.384 MHz XTAL2(4)
F0032
CL
Figure 61
*
Crystal Oscillator Circuit (master/slave mode)
XTAL1(3) External Oscillator Signal T1: 16.384 (12.352) MHz E1: 16.384 MHz XTAL2(4) N.C.
F0033
Figure 62
External Oscillator Circuit (master mode)
11.4.2
XTAL Clock Timing
61 62 XTAL1 XTAL3 3.5 V 0.8 V 63
ITT06478
Figure 63 Table 59 No. 61
XTAL External Clock Timing XTAL Timing Parameter Values Limit Values min. typ. 61 81 max. ns XTAL1, XTAL3 XTAL3 Unit Condition
Parameter Clock Period
Data Sheet
339
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 59 No. 62 63 XTAL Timing Parameter Values (cont'd) Limit Values min. Clock High Phase Clock Low Phase Clock accuracy Motional Capacitance C1 Shunt Capacitance C0 Load Capacitance CL2) Resonance Resistance Rr
1) 2)
Parameter
Unit ns ns
Condition XTAL1, XTAL3 XTAL3 XTAL1, XTAL3 XTAL3 XTAL1, XTAL3 XTAL1, XTAL3 XTAL1, XTAL3 XTAL1, XTAL3 XTAL1, XTAL3
typ.
max.
20 25 20 25 321) 25 7 15 40
ppm fF pF pF
to fulfill E1/T1/J1 requirements in free running mode This value includes the capacitance of the external capacitor plus all parasitic capacitances. The value for the external capacitor has to be chosen depending on the printed circuit board layout. A typical value is 10 pF with 5 pF parasitic capacitance.
*
250
ITD08571
f -f0 f0
ppm 150 100 50 0 -50 -100 -150 -200 -250 7.5 10 12.5 15 17.5 20 22.5 Load Capacitance pF 27.5
Figure 64
External Pullable Crystal Tuning Range
Note: 12.352-MHz or 16.384-MHz crystal specified for C L=15 pF
Data Sheet
340
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.3
JTAG Boundary Scan Interface
80 81 82
TCK 83 84 TMS 85 86 TDI 87 TDO
ITT06481
Figure 65
*
JTAG Boundary Scan Timing JTAG Boundary Scan Timing Parameter Values
Table 60 No. 80 81 82 83 84 85 86 87
Parameter TCK period TCK high time TCK low time TMS setup time TMS hold time TDI setup time TDI hold time TDO valid delay
Limit Values min. 250 80 80 40 40 40 40 100 max.
Unit ns ns ns ns ns ns ns ns
H
Identification Register : 32 bit; Version: 4 H; Part Number: 42H, Manufacturer: 083
Data Sheet
341
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.4
Reset
88
RES
F0035
Figure 66 Table 61 No. 88
1)
Reset Timing Reset Timing Parameter Values Limit Values min. max. s 201) Unit
Parameter RES pulse width high
after power supply and input clocks are stable
11.4.5
Microprocessor Interface
11.4.5.1 Intel Bus Interface Mode
A6 ... A0 BHE
CS 3 1 RD WR
ITT06468
3A 2
Figure 67
Intel Non-Multiplexed Address Timing
Data Sheet
342
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
A6...A0 BHE 5 4 6 ALE 7 1 CS 3 RD WR
ITT06469
7A
3A
Figure 68
Intel Multiplexed Address Timing
CS 8 RD 12 WR 10 D7... D0 (D15...D8) Float 11A 11 Float
ITT06470
9
Figure 69
Intel Read Cycle Timing
Data Sheet
343
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
CS 13 WR 12 RD 15 16 D7... D0 (D15... D8)
ITT06471
14
Figure 70 Table 62 No. 1 2 3 3A 4 5 6 7 7A 8 9 10 11 11A 12 13 14
Intel Write Cycle Timing Intel Bus Interface Timing Parameter Values Limit Values min. max. ns ns ns ns ns ns ns ns ns ns ns 95 10 30 80 60 50 ns ns ns ns ns ns 15 0 0 0 20 10 30 0 30 100 80 Unit
Parameter Address Ax1), BHE setup time Address Ax , BHE hold time CS setup time CS hold time Address, BHE stable before ALE inactive Address, BHE hold after ALE inactive ALE pulse width Address latch setup time before command active ALE to command inactive delay RD pulse width RD control interval Data valid after RD active Data hold after RD inactive RD inactive to data bus tristate2) WR to RD or RD to WR control interval WR pulse width WR control interval
1)
Data Sheet
344
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 62 No. 15 16
1) 2)
Intel Bus Interface Timing Parameter Values (cont'd) Limit Values min. max. ns ns 30 10 Unit
Parameter Data stable before WR inactive Data hold after WR inactive
Ax refers to address lines A0 to A6 typical value, not tested in production
11.4.5.2 Motorola Bus Interface Mode
*
A6 ... A0 BLE 17 CS 19 RW 20 22 DS 25A 24 D7... D0 (D15 ... D8) Float 25 Float
ITT06472
18
19A
21 23
Figure 71
Motorola Read Cycle Timing
Data Sheet
345
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
*
A6 ... A0 BHE 17 CS 19 RW 20 22A DS 26 D7... D0 (D15 ... D8)
ITT06473
18
19A
21 23
27
Figure 72 Table 63 No. 17 18 19 19A 20 21 22 22A 23 24 25 25A 26 27
1)
Motorola Write Cycle Timing Motorola Bus Interface Timing Parameter Values Limit Values min. max. ns ns ns ns ns ns ns ns ns 95 10 30 30 10 ns ns ns ns ns 15 0 0 0 10 0 100 60 80 Unit
Parameter Address, BLE, setup time before DS active Address, BLE, hold after DS inactive CS active before DS active CS hold after DS inactive RW stable before DS active RW hold after DS inactive DS pulse width (read access) DS pulse width (write access) DS control interval Data valid after DS active (read access) Data hold after DS inactive (read access) DS inactive to databus tristate (read access)1) Data stable before DS active (write access) Data hold after DS inactive (write access)
typical value, not tested in production
Data Sheet
346
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.6
Line Interface
30 32 31
RCLKI 34 33 ROID 35 37 XCLK 38 XOID/ XDOP/ XDON 38A XOID
1) 1) 1)
36
CMI Coding 1T2B Coding
ITT06475
Figure 73 Table 64 No.
Timing of Dual Rail Optical Interface Dual Rail Optical Interface Parameter Values Limit Values E1 min. typ. 488 180 180 50 50 488 190 150 190 150 230 200 230 200 240 240 50 50 648 max. min. T1 typ. 648 max. ns ns ns ns ns ns ns ns Unit
Parameter
30 31 32 33 34 35 36 37
RCLKI clock period RCLKI clock period low RCLKI clock period high ROID setup ROID hold XCLK clock period XCLK clock period low XCLK clock period low3) XCLK clock period high XCLK clock period high3)
Data Sheet
347
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 64 No. 38
1) 2) 3)
Dual Rail Optical Interface Parameter Values (cont'd) Limit Values
1)
Parameter XOID delay XDOP/XDON delay2)
Unit 60 ns
60
NRZ coding HDB3/AMI/B8ZS coding depends on input RCLKI in optical interface and remote loop without transmit jitter attenuator enabled (LIM1.JATT/RL=01).
*
39 41 RCLK 42 RFSP 42 40
SCLKR 43 FREEZS 1)
1)
43
~ ~
PCM24: if bit XCO .SFRZ is set HIGH PCM30: if bit FRM3.. CFRZ is set HIGH
ITT06476
Figure 74
*
Receive Clock and RFSP/FREEZS Timing Receive Clock and RFSP/FREEZS Timing Parameter Values Limit Values E1 min. typ. 488 180 180
348
Table 65 No.
Parameter
Unit T1 typ. 648 max. ns ns ns
2000-07
max.
min. 240 240
39 40 41
RCLK clock period RCLK clock low RCLK clock high
Data Sheet
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 65 No. Receive Clock and RFSP/FREEZS Timing (cont'd)Parameter Values Limit Values E1 min. 42 43
1)
Parameter typ.
Unit T1 typ. max. 70 95 ns ns
max. 70 95
min.
RFSP delay FREEZS delay
1)
T1 using register accessed CAS and XCO.SFRZ=1 or E1/T1/J1 using serial CAS
Data Sheet
349
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.7
*
System Interface
65 67 66 Trigger Edge
SCLKR 8192 kHz 68 SYPR 71
~ ~
70
69
~ ~
RDO FMR1 . IMOD = "1"
71A RDO FMR1 . IMOD = "0" 72 RSIGM DLR RMFB 65 SCLKX 1) 8192 kHz SCLKR 2) SYPX 73
~ ~ ~ ~ ~ ~ ~ ~
72
Sample Edge Bit 0 of XDI 66
67
68
70
74
~ ~
69
XDI XMFS 75 XSIGM DLX XMFB 76 XCLK 3)
1) 2) 3)
75
~ ~
76
Valid if FMR2 . PLB = "0" During Payload Loop is active SCLKR is switched internally on SCLKX (FMR2 PLB = "1") . Valid in PCM30 mode and LIM1. JATT/RL = "00" Example: XC1 = 3E H XC0 = 03 H
ITT06479
Figure 75
System Interface Timing
Data Sheet
350
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
*
Frame 1 of Multiframe SCLKX 8192 kHz Time-Slot 0 Data at XDI 2 Mbit/s-Mode Time-Slot 31
Frame 2
1.b
2.b
3.b
4.b
7.b
8.b
1.b
Data at XDI 4 Mbit/s-Mode
1.b 2.b 3.b 4.b 5.b 6.b 7.b 8.b 78
1.b
XMFS 77 79
ITT06480
Figure 76
*
XMFS Timing
79
SCLKX
77 XMFS inactive active high
78
F0058
Figure 77
*
XMFS Timing (cont'd.) System Interface Timing Parameter Values Limit Values min. typ. 122 40 120 max. ns ns ns Unit
Table 66 No. 65 66
Parameter SCLKX/SCLKR period SCLKX/SCLKR low (8.192 MHz) SCLKX/SCLKR low (1.544/2.048 MHz)
Data Sheet
351
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics Table 66 No. 67 68 69 70 71 71A 72 73 74 75 76 77 78 79
1) 2)
System Interface Timing Parameter Values (cont'd) Limit Values 40 120 2x T65 5 50 10
1)2)
Parameter SCLKX/SCLKR high (8.192 MHz) SCLKX/SCLKR high (1.544/2.048 MHz) SYPX/SYPR inactive setup time SYPX/SYPR setup time SYPX/SYPR hold time RDO delay1) RDO to high impedance XDI setup time XDI hold time XSIGM, XMFB, DLX marker delay XCLK delay XMFS setup time XMFS hold time XMFS inactive time
1)
Unit ns ns ns ns ns
105 105 105
ns ns ns ns ns
10 5 50
RSIGM, RMFB, DLR marker delay
105 105 5 50 4x T65
ns ns ns ns ns
not tested in production FMR1.IMOD = 0
Data Sheet
352
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
*X
44 45 CLK 16M 56 49 48 CLK 8M 50 51 CLKX 1) CLKX 2) 53 54 CLKX
3)
46 56
47 52
55
CLKX 4)
FSC XCLK/FSC 5) 57 58 CLK 12M
1) 2)
59
LIM0.SCL1/0 = "10" LIM0.SCL1/0 = "11"
3) 4)
LIM0.SCL1/0 = "00" LIM0.SCL1/0 = "01"
5)
LIM1.EFSC = "1"
ITT10534
Figure 78
System Clock Timing
Data Sheet
353
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
*
Table 67 No. 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
System Clock Timing Parameter Values Limit Values min. typ. 61 20 20 122 45 45 244 100 100 488 220 220 50 81 61 25 20 25 20 max. ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Unit
Parameter CLK16M period CLK16M low CLK16M high CLK8M period CLK8M low CLK8M high CLKX period 4 MHz CLKX low 4 MHz CLKX high 4 MHz CLKX period 2 MHz CLKX low 2 MHz CLKX high 2 MHz FSC, FSC, CLK8M, CLKX delay CLK12M period (T1/J1) CLK12M period (E1) CLK12M low (T1/J1) CLK12M low (E1) CLK12M high (T1/J1) CLK12M high (E1)
Data Sheet
354
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.8
Pulse Templates - Transmitter
11.4.8.1 Pulse Template E1
*
269 ns (244 + 25) 194 ns (244 - 50)
V=100 %
10 % 10 % 20 % 20 %
Nominal Pulse
50 % 244 ns 219 ns (244 - 25)
10 % 10 %
0%
20 %
488 ns (244 + 244)
ITD00573
Figure 79
Pulse Shape at Transmitter Output for E1 Applications
Data Sheet
355
10 % 10 %
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.4.8.2 Pulse Template T1
Normalized Amplitude
V = 100 %
50 %
0
-50 % 0 250 500 750 1000 ns
ITD00574
t
Figure 80
*
T1 Pulse Shape T1 Pulse Template (ANSI T1.102) Maximum Curve Minimum Curve
1)
Table 68
Time [ns] 0 250 325 325 425 500 675 725 1100 1250
Level [%] 5 5 80 115 115 105 105 -7 5 5
Time [ns] 0 350 350 400 500 600 650 650 800 925 1100 1250
Level [%] -5 -5 50 95 95 90 50 -45 -45 -20 -5 -5
1)
100 % value must be in the range of 2.4 V and 3.6 V; tested at 0 ft. and 655 ft.
Data Sheet
356
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.5
Table 69 Parameter
Capacitances
Capacitances Symbol CIN COUT COUT CREFR 5 8 8 6802) Limit Values min. max. 10 15 20 5000 pF pF pF pF all except XLxM, XTALx, REFR all except XLx, XTALx XLx REFR only; including external parasitics3) Unit Notes
Input capacitance1) Output capacitance1) Output capacitance1) Reference voltage blocking capacitance1)
1) 2) 3)
Not tested in production. 680 pF are recommended value for best performance in crystal-less mode. External wiring must be as short as possible.
Data Sheet
357
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.6
*
Package Characteristics
F0051
Figure 81
*
Thermal Behavior of Package Package Characteristic Values Symbol min. Rthja1) Rthjc2) Rj Limit Values typ. 47 9 125 max. K/W single layer PCB, K/W no convection C Unit Notes
Table 70 Parameter
Thermal Resistance Junction Temperature
1)
Rthja = (Tjunction - T ambient)/Power Not tested in production. Rthjc = (T junction - T case)/Power Not tested in production.
2)
Data Sheet
358
2000-07
PEB 2255 FALC-LH V1.3
Electrical Characteristics
11.7
Test Configuration
Test Levels
VTH VTL Timing Test Points Device under Test CL
Drive Levels
VIH VIL F0067
Figure 82
*
Input/Output Waveforms for AC Testing AC Test Conditions Symbol CL VIH VIL VTH VTL Test Values 50 2.4 0.4 2.0 0.8 Unit Notes pF V V V V all except RLx.y all except RLx.y all except XLx.y all except XLx.y
Table 71 Parameter
Load Capacitance Input Voltage high Input Voltage low Test Voltage high Test Voltage low
Typical characteristics are mean values expected over the production spread. If not specified otherwise, typical characteristics apply at TA = 25 C and VDD = 5.0V.
Data Sheet
359
2000-07
PEB 2255 FALC-LH V1.3
Package Outlines
12
Package Outlines
P-MQFP-80-1 (Plastic Metric Quad Flat Package)
Sorts of Packing Package outlines for tubes, trays etc. are contained in our Data Book "Package Information". SMD = Surface Mounted Device Data Sheet 360
Dimensions in mm 2000-07
PEB 2255 FALC-LH V1.3
Appendix
13
13.1
Appendix
Protection Circuitry
The design in Figure 83 is a suggestion how to build up a generic E1/T1/J1 platform which is able to meet protection requirements according to Bellcore TR-NWT-1089, FCC Part68, UL1459. With the selection of the appropriate components the same circuitry is also able to handle the return loss and impedance to ground requirements of ETSI.
1:1 2 x P1800SC RL1 R3 R2 F1250T
VDD RL2 R3
VSS
F1250T
FALC(R)
1:2.4 2 x P1800SC XL1 R1 F1250T
RJ45
VDD XL2 R1
VSS
F1250T
F0128
1:1 2 x P1800SC RL1 R3 P0080SA R4 F1250T
RL2
R5
F1250T
FALC(R)
1:2.4 2 x P1800SC XL1 R1 P0080SA F1250T
RJ45
XL2
R2 F1250T
F0129
Figure 83
Data Sheet
Protection Circuitry
361 2000-07
PEB 2255 FALC-LH V1.3
Appendix
13.2
Application Notes
Several application notes and technical documentation provide additional information. Online access to supporting information is available on the internet page: http://www.infineon.com/falc On the same page you find as well the Boundary Scan File for FALC(R)-LH Version 1.3 (BSDL File)
13.3
Software Support
The following software package is provided together with the FALC(R)-LH Reference System EASY2255-R1: * E1 and T1 driver functions supporting different ETSI and Bellcore requirements including HDLC and and CAS signaling * LAPD Signaling Software * FDL Signaling Software * Boundary Scan File for FALC(R)-LH V1.3 * IBIS Model for FALC(R)-LH V1.3 * Gerber Files for EASY2255-R1 * External Line Front End Calculator The 'External Line Front End Calculator' provides an easy method to optimize the external components depending on the selected application type. Calculation results are traced an can be stored in a file or printed out for documentation. The tool runs under a Win9x/NT environment. A screenshot of the program is shown in Figure 84 below.
Data Sheet
362
2000-07
PEB 2255 FALC-LH V1.3
Appendix
F0228
Figure 84
External Line Frontend Calculator
Data Sheet
363
2000-07
PEB 2255 FALC-LH V1.3
Appendix
13.4
* * * * * * * * * * * * *
Differences to Version PEB 2255 V1.1
The main feature improvements are: Crystal-less jitter attenuation (optionally) Serial CAS signaling access on the PCM highway (optionally) Additional CAS-BR register organization (for T1) Additional transmit data input for fractional E1/T1/J1 selectable receiver transparent mode Additional synchronization mode according to NTT requirements (for J1) External reference clock for DCO-X (DCO2) circuitry (SYNC2 pin) Optional transmit clock sourced by DCO-R (DCO1) circuitry (for E1) Software reset for DCO-R and DCO-X (DCO1 and DCO2) Enhanced loop-timed mode (optionally) Version register code changed from 10H to 13H Boundary Scan version register changed from 1H to 4H (same part number) Boundary Scan file changed due to additional pin functions
For a detailed description of differences to the previous version see the actual version of PEB 2255 Version 1.3/Delta Sheet. All erratas described in 'PEB 2255 Version 1.1/Errata Sheet' have been fixed. Erratas described in 'PEB 2255 Version 1.3/Errata Sheet' have not been fixed. Due to compatibility with future products, the following naming conventions have been changed: 'DCO-1' to 'DCO-R' and 'DCO-2' to 'DCO-X'
Data Sheet
364
2000-07
PEB 2255 FALC-LH V1.3
Glossary
14
A/D ADC AIS AGC ALOS AMI ANSI ATM AUXP B8ZS BER BFA BOM Bellcore BPV BSN CAS CAS-BR CAS-CC CCS CMI CR CRC CSU CVC DCO DL DPLL DS1 EA
Glossary
Analog to digital Analog to digital converter Alarm indication signal (blue alarm) Automatic gain control Analog loss of signal Alternate mark inversion American National Standards Institute Asynchronous transfer mode Auxiliary pattern Line coding to avoid too long strings of consecutive '0' Bit error rate Basic frame alignment Bit orientated message Bell Communications Research Bipolar violation Backward sequence number Channel associated signaling Channel associated signaling - bit robbing Channel associated signaling - common channel Common channel signaling coded mark inversion code (also known as 1T2B code) Command/Response (special bit in PPR) Cyclic redundancy check Channel service unit Code violation counter Digitally controlled oscillator Digital loop Digitally controlled phase locked loop Digital signal level 1 Extended address (special bit in PPR)
Data Sheet
365
2000-07
PEB 2255 FALC-LH V1.3
Glossary ESD EASY ESF EQ ETSI FALC FAS FCC FCS FISU FPS FSN HBM HDB3 HDLC IBIS IBL ISDN ITU JATT JTAG LAPD LBO LCV LIU LFA LL LLB LOS LSB LSSU MF
(R)
Electrostatic discharge Evaluation system for FALC products Extended superframe (F24) format Equalizer European Telecommunication Standards Institute Framing and line interface component Frame alignment sequence US Federal Communication Commission Frame check sequence (used in PPR) Fill in signaling unit Framing pattern sequence Forward sequence number Human body model for ESD classification High density bipolar of order 3 High level data link control I/O buffer information specification (ANSI/EIA-656) In band loop (=LLB) Integrated services digital network International Telecommunications Group Jitter attenuator Joined Test Action Group Link access procedure on D-channel Line build out Line code violation Line interface unit Loss of frame alignment Local loop Line loop back (= IBL) Loss of signal (red alarm) Least significant bit Link status signaling unit Multiframe
Data Sheet
366
2000-07
PEB 2255 FALC-LH V1.3
Glossary MSB MSU NRZ PDV PLB PLL PMQFP PPR PRBS PTQFP RAI RL SAPI SF Sidactor TAP TEI UI ZCS Most significant bit Message signaling unit Non return to zero signal Pulse density violation Payload loop back Phase locked loop Plastic metric quad flat pack (device package) Periodical performance report Pseudo random binary sequence Plastic thin metric quad flat pack (device package) Remote alarm indication (yellow alarm) Remote loop Service access point identifier (special octet in PPR) Superframe Overvoltage protection device for transmission lines Test access port Terminal endpoint identifier (special octet in PPR) Unit interval Zero code suppression
Data Sheet
367
2000-07
PEB 2255 FALC-LH V1.3
Index A
Address Bus 25 Address Latch Enable 25 AFR 195 AIS 193, 231, 253, 272, 310, 328 AIS16 193, 254 AIS3 279 Alarm Handling 93, 148 Alarm Simulation 101, 157 ALE 25 ALLS 193, 251, 272, 327 ALM 193 ALMF 197 API 193, 254 Application Notes 362 Applications 20, 22 ASY4 206 ATM 22 AUTO 279 AUXP 231 AXRA 197, 276 AXS 201
CEC 246, 322 CER 193, 272 CFRZ 210 CH 290 Channel Translation Mode 113 Chip Select 25 CLA 199, 278 Clear Channel 130, 134, 151 Clock and Data Recovery 55, 103 Clock Synchronization 33, 34 Clocking Unit 54 CMI 210 CR 240 CRC16 247, 323 CRC4 193, 249 CRC6 144, 272, 274, 325 CRCI 204, 284 CRC-Multiframe 86 Crystal Connection 32 CSC 58, 106, 224, 302 CTM 274 CV 239 CVE 193, 272
D
D4 137, 140 DAF 224, 303 DAIS 197, 276 Data Bus 25, 26 Data Bus Width 26 Data Link Access 116, 130, 178 Data Link Bit Receive 35 Data Link Bit Transmit 41 Data Strobe 26 DAXLT 207, 288 DBEC 304 DCEC 225, 304 DCO-1 364 DCO-2 364 DCOC 293 DCO-R 58, 59 DCO-X 61 DCVC 225, 304
368 2000-07
B
Bit Oriented Message 116, 176 Bit Robbing 115, 116, 129 BOM 116, 176, 322 Boundary Scan 44, 52, 341, 362 BRAC 263 BRM 266, 283 Bus High Enable 27 Bus Low Enable 27
C
CAS 66, 68, 76, 115, 116, 129, 161 CASC 68, 193, 249 CASE 272, 327 CASEN 201 CC 242 CE 243
Data Sheet
PEB 2255 FALC-LH V1.3
DEBC 225, 304 DFEC 225, 304 DJA1 58, 106, 217, 295 DJA2 217, 295 DL-channel 116, 130 Doubleframe Format 83 DRS 54, 80, 102, 214, 293
E
EASY2255-R1 362 EBE 193 EBP 201 ECLB 199, 278 ECM 195, 274 EDL 274 EDLX 266 EFSC 214, 293 EIBR 281 EITS 266 Elastic Buffer 63, 77, 111, 131 ELOS 213, 291 ELT 61, 217, 295 ENSA 195 EPRM 218, 297 EPT 268 EQON 54, 55, 102, 213, 291 Error Counter 95, 150 ES 193, 254, 272, 330 ESC 314 ESD 335 ESF 137, 142 ESY 224, 302 EV 55, 230, 309 EXLS 272 EXTD 193 EXTIW 210 EXZD 312 EXZE 276
F72 137, 138, 178 FALC-LH V1.1 57, 105 FAR 193, 253, 272, 328 FAS 67 FEH 315 FER 193, 272 FFS 223, 301 FIFO Structure 49 FLLB 218, 297 FM0 279 FM1 279 FMR0 54, 102 FMR1 67 Frame Aligner 19 Frame Synchronization Pulse 33 Framer 82, 110, 137 Freeze Signaling 36 FRS 193, 272 FSRF 310
G
Gerber Files 362 GIS 50
H
H100 17 HA0 247, 323 HA1 247, 323 HDLC 66, 76, 115, 129, 161, 169 HFR 323 H-MVIP 17 HRAC 185, 263
I
IBIS Model 362 IC 212, 291 IC0 186, 265 IC1 186, 265 IDL 209, 289 IMOD 195, 274 In-Band Loop 95, 151 Initialization in E1 Mode 158 Initialization in T1 / J1 Mode 163
369 2000-07
F
F12 137, 138 F24 137, 142 F4 137, 140
Data Sheet
PEB 2255 FALC-LH V1.3
INT 50 Interface Mode 26 Interrupt 27 Interrupt Interface 50 Interrupt Status Registers 51 IPC 51 ISF 272, 325 ISR 50, 256, 332 ISR0 68 ISR3 65 ITF 266 IWE8 22
LLBSC 193, 251, 272, 330 LMFA 231, 272, 310, 328 LMFA16 193, 254 Local Loop 99, 155 LOOP 54, 102 LOS 57, 105, 193, 231, 253, 272, 310, 328, 337 LOS1 217, 295 LOS2 217, 295 Loss of Signal 57, 104
M
MAS 58, 213, 291 MCSP 276 MDS 185, 263 MFAR 193, 253, 272, 328 MFBS 283 MFCS 195 Microprocessor Interface 20, 47, 342
J
JATT 214, 293 Jitter 58, 61, 105, 109 Jitter Tolerance 108 JTAG 44
L
LA 247, 323 LAC 220, 299 LAC0 218, 297 LAC1 218, 297 LAPD 66, 76, 115, 129, 362 LBO1 295 LBO2 295 LDC 220, 299 LDC0 218, 297 LDC1 218, 297 LFA 193, 231, 253, 272, 310, 328 LIM0 54, 55, 58, 102 LIM1 80 LIM2 58, 61, 106 LIM3 58, 106 Line Build-Out 135 Line Coding 55, 103 Line Interface 18, 28, 30, 347 Line Receiver 28, 29 LL 213, 291 LLBAD 236, 312 LLBDD 236, 312 LLBP 218, 297
Data Sheet
N
NMF 231
O
OV 249
P
Payload Loop 98, 154 PCM24 137 PDEN 272, 312, 325 PEB 2255 V1.1 364 Performance Monitoring 88, 93, 148 PLB 197, 276 PMOD 195, 274 Power Supply 43 PRBS Monitor Status 36 PRE 268 Preamble 172 Protection 361 Pseudo-Random Bit Sequence 97, 152 P-TQFP-144-8 360 Pulse Density 152 Pulse Shaper 80, 135
370 2000-07
PEB 2255 FALC-LH V1.3
Pulse Template 355, 356
R
RA 193, 253, 272, 328 RA16 193, 254 RAB 247, 323 RADD 268 RAR 193, 253, 272, 328 RBC 248, 249 RBS 64, 112 RBS0 221, 300 RBS1 221, 300 RC 193 RC0 69, 272 RC1 54, 102, 272 RCO0 204, 284 RCO1 204, 284 RCO2 204, 284 RCOS 204, 284 RCRC 268 RDIS 204, 284 RDL3T1 321 RDO 193, 247, 251, 272, 323, 327 Read Enable 26 Read/Write Enable 26 Receive Clock 34 Receive Clock Input 29 Receive Data Input Negative 29 Receive Data Input Positive 28 Receive Data Out 35 Receive Equalization Network 55, 103 Receive Frame Marker 37 Receive Frame Synchronous Pulse 36 Receive Line Attenuation Indication 55, 103 Receive Line Interface 54, 102 Receive Multiframe Begin 38 Receive Optical Interface Data 28 Receive Signaling Data 35 Receive Signaling Marker 38 Receiver Configuration 56 Reference Resistance 44 Reference System 362
Data Sheet
Register Addresses 180, 228, 258, 307 Remote Alarm 144 Remote Loop 97, 153 RES 55 Reset 43, 158, 163, 342 RFIFO 47 RFS 193, 249, 272, 325 RFS0 197 RFS1 197 RFT0 266 RFT1 266 RIL 214, 293 RL 214, 293 RLI 246, 322 RMB 193, 249, 272, 325 RMC 183, 261 RME 193, 249, 272, 325 RPF 193, 249, 272, 325 RRA 231, 236, 310 RRAM 286 RRES 183, 261 RS13 236 RS15 236 RSC 272, 325 RSI 236 RSIF 236 RSN 65, 193, 254, 272, 330 RSP 65, 193, 254, 272, 330 RTF 281 RTM 197, 278 RTO 206, 286 RY 236
S
S_8 245 S_A 245 S_C 245 S_E 245 S_F 245 S_X 245 Sa bit Access 66, 76, 176 SA4E 203 SA5E 203
2000-07
371
PEB 2255 FALC-LH V1.3
SA6E 203 SA6SC 193, 249 SA6SY 210 SA7E 203 SA8E 203 SAIS 67, 197, 276 SCF 58, 217, 295 SCI 186, 265 SCL0 213, 291 SCL1 213, 291 SDLC 115 SEC 193, 254, 272, 330 Second Timer 95, 150 SF 140 SFLG 266 SFM 199 SFRZ 283 SFS 246, 322 Shared Flags 172 SI 236 SICS 69, 204, 284 SIGM 274 Signaling Controller 19, 66, 76, 115, 129 Signaling Software 362 SIM 193, 272 Single Channel Loop 100, 156 SJR 286 SLC96 137, 144 SLIP 193, 272 Software 362 SPN 54, 102, 199, 278 SRAF 272 SRES 183, 261 SRFSO 223, 301 SRO 281 SRS 281 SRSC 221, 300 SSC0 279 SSC1 279 SSF 223, 301 SSP 276 Supply voltage 335 SWD 206
Data Sheet
SXSC 221, 300 Synchronous Pulse Receive 37 Synchronous Pulse Transmit 40 System Clock 33 System Clock Receive 37 System Clock Transmit 40 System Interface 69, 116
T
T400MS 193, 253 T8MS 193, 249 TCD1 214 Test Access Port 52 Time-Slot Assigner 72, 121 TM 279 TRA 208 Transmit Clock 32 Transmit Data In 40 Transmit Data Output Negative 31 Transmit Data Output Positive 30 Transmit Line 30 Transmit Line Interface 79, 134 Transmit Line Monitor 31, 80, 136 Transmit Multiframe Begin 39 Transmit Multiframe Synchronization 42 Transmit Optical Interface Data 30, 39 Transmit Path 123 Transmit Signaling Data 41 Transmit Signaling Marker 42 Transmitter 78, 133 Transmitter Configuration 79 Transparent Mode 171 TS 270, 271 TS16AIS 234 TS16LFA 234 TS16LOS 234 TS16RA 234 TSA 208 TSIF 208 TSIS 208 TT0 201 TTRF 224, 303
372
2000-07
PEB 2255 FALC-LH V1.3
V
Version Status Register 332 VFR 247, 323 VIS 51, 186, 265 VN 256, 332
W
Write Enable 26
X
XAIS 195, 274 XAP 201 XBS0 300 XBS1 221, 300 XC 193 XC0 272 XC1 272 XCO0 203, 283 XCO1 203, 283 XCO2 203, 283 XCOS 203, 284 XCRC 268 XCRCI 204, 284 XDOS 213, 291 XDOV 246, 322 XDU 193, 251, 272, 327 XFB 213, 291 XFIFO 47 XFS 195 XFW 246, 322 XHF 183, 261 XLD 210, 281 XLHP 207, 288 XLO 234, 312 XLS 234, 312 XLSC 193, 251, 272, 327 XLT 207, 288 XLU 210, 281 XMB 193, 251, 272, 327 XME 183, 261 XP 207, 288 XPR 193, 251, 272, 327
XPRBS 218, 297 XRA 200, 279 XREP 183, 246, 261, 322 XRES 183, 261 XS 210 XS13 201 XS15 201 XSIF 201 XSIS 200 XSLP 272, 330 XSN 193, 256, 272, 331 XSP 193, 256, 272, 331 XSW 76 XTF 183, 261 XTM 200, 281 XTO 203, 284 XY 200
Data Sheet
373
2000-07
Total Quality Management
Qualitat hat fur uns eine umfassende Bedeutung. Wir wollen allen Ihren Anspruchen in der bestmoglichen Weise gerecht werden. Es geht uns also nicht nur um die Produktqualitat - unsere Anstrengungen gelten gleichermaen der Lieferqualitat und Logistik, dem Service und Support sowie allen sonstigen Beratungs- und Betreuungsleistungen. Dazu gehort eine bestimmte Geisteshaltung unserer Mitarbeiter. Total Quality im Denken und Handeln gegenuber Kollegen, Lieferanten und Ihnen, unserem Kunden. Unsere Leitlinie ist jede Aufgabe mit Null Fehlern" zu losen - in offener Sichtweise auch uber den eigenen Arbeitsplatz hinaus - und uns standig zu verbessern. Unternehmensweit orientieren wir uns dabei auch an top" (Time Optimized Processes), um Ihnen durch groere Schnelligkeit den entscheidenden Wettbewerbsvorsprung zu verschaffen. Geben Sie uns die Chance, hohe Leistung durch umfassende Qualitat zu beweisen. Wir werden Sie uberzeugen. Quality takes on an allencompassing significance at Semiconductor Group. For us it means living up to each and every one of your demands in the best possible way. So we are not only concerned with product quality. We direct our efforts equally at quality of supply and logistics, service and support, as well as all the other ways in which we advise and attend to you. Part of this is the very special attitude of our staff. Total Quality in thought and deed, towards co-workers, suppliers and you, our customer. Our guideline is "do everything with zero defects", in an open manner that is demonstrated beyond your immediate workplace, and to constantly improve. Throughout the corporation we also think in terms of Time Optimized Processes (top), greater speed on our part to give you that decisive competitive edge. Give us the chance to prove the best of performance through the best of quality - you will be convinced.
http://www.infineon.com
Published by Infineon Technologies AG


▲Up To Search▲   

 
Price & Availability of PEB2255

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X